Defaults is a Swifty and modern UserDefaults.
This package is used in production by apps like Gifski, Dato, Lungo, Battery Indicator, and HEIC Converter.
Highlights
- Strongly typed: You declare the type and default value upfront.
- Codable support: You can store any Codable value, like an enum.
- Debuggable: The data is stored as JSON-serialized values.
- Observation: Observe changes to keys.
- Lightweight: It’s only ~300 lines of code.

Leave a Reply
You must be logged in to post a comment.