Swifty and modern UserDefaults
What is Defaults?
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.
Overview
- Pricing: Free
- Resource Link: https://github.com/sindresorhus/Defaults
- Resource Maker: Sindre Sorhus
- Mobile Platform Destination: iOS Apps
- Mobile Platform Support: Native iOS
- Programming Languages: Swift
- iOS Versions Supported: iOS 10.0+, iOS 11.0+, iOS 12.0+
- CocoaPods: Defaults
- Carthage: sindresorhus/Defaults
- Swift Package Manager: https://github.com/sindresorhus/Defaults
The team behind mobintouch
Website: https://www.mobintouch.com
Resources added 👉 3142