hank121314
534157f1b5
Add a `Defaults.Serializable` protocol ( #57 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2021-05-16 23:52:46 +07:00
Sindre Sorhus
93fbdf7f09
Upgrade to Swit 5.3
2020-09-17 00:24:52 +02:00
Sindre Sorhus
d98119fee4
4.1.0
2020-08-28 23:43:14 +02:00
Sindre Sorhus
15c096d7fd
Fix `Defaults.reset()`
2020-04-18 14:16:02 +08:00
Ian Gregory
54f970b9d7
Add `DefaultsObsevation.tieToLifetime(of:)` ( #13 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-10-30 18:50:24 +07:00
Sindre Sorhus
908d3b4ee1
Upgrade to Swift 5
2019-03-26 15:49:25 +07:00
Sindre Sorhus
257ce0df90
Add support for key observation and other improvements ( #10 )
...
And some other improvements:
- Shorter syntax for defining keys.
- It now writes the default value of `Defaults.Key` back to the actual UserDefaults on creation.
- Support alternative UserDefaults suites.
- Improved docs and test coverage.
2018-10-17 17:22:10 +07:00
Sindre Sorhus
7868e47910
Add support for iOS, tvOS, watchOS
...
Fixes #1
2018-04-16 16:50:36 +07:00
Sindre Sorhus
c78c1b00b6
Init
2018-04-12 01:06:24 +07:00