Commit Graph

8 Commits

Author SHA1 Message Date
Sindre Sorhus b2fdee2055 Get rid of `OptionalKey` 2020-04-13 12:25:18 +08:00
Sindre Sorhus ca813bf449 Meta tweaks 2020-01-21 00:11:19 +07:00
Sindre Sorhus 9ce53eee2e 3.1.0 2019-10-30 19:06:41 +07:00
Sindre Sorhus 3ca3b96fe8 Fix Travis 2019-09-11 15:07:58 +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