Sindre Sorhus
39160d389f
Add workaround for Xcode bug
2020-04-18 14:37:34 +08:00
Sindre Sorhus
5df16e0d2e
Remove `Defaults.publisherAll` until #42 is fixed
2020-04-18 14:21:31 +08:00
Sindre Sorhus
c20b7d820c
Fix `Defaults.publisher(keys:)`
2020-04-18 14:19:38 +08:00
Sindre Sorhus
15c096d7fd
Fix `Defaults.reset()`
2020-04-18 14:16:02 +08:00
Sindre Sorhus
77c05abe10
Document how to store a dictionary of arbitrary values
...
Fixes #36
2020-04-13 13:39:25 +08:00
Sindre Sorhus
8376ca7f51
Remove the `.old` and `.new` options
...
They are now `true` by default.
Fixes #33
2020-04-13 13:15:13 +08:00
Sindre Sorhus
31b56ce018
Rename `DefaultsObservation` to `Defaults.Observation`
2020-04-13 12:31:54 +08:00
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
Kacper Rączy
6029ac796b
Combine support ( #31 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-01-20 23:41:13 +07:00
Sindre Sorhus
a2e2be2d5d
Update readme.md
2020-01-09 17:39:31 +07:00
Sindre Sorhus
55ffea9487
3.1.1
2019-10-30 19:48:27 +07:00
Sindre Sorhus
9ce53eee2e
3.1.0
2019-10-30 19:06:41 +07:00
Koray Koska
89d2d4d353
Add support for NSSecureCoding ( #27 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-10-30 18:57:31 +07: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
75e436b5d8
3.0.0
2019-09-11 15:01:45 +07:00
Sindre Sorhus
eeb8c73d7f
Docs improvements
2019-09-11 14:59:40 +07:00
Sindre Sorhus
27c9997134
Rename `Defaults.clear` to `Defaults.removeAll`
2019-09-11 14:35:17 +07:00
Sindre Sorhus
90ac6f8802
Switch to static subscript on `Defaults`
2019-09-11 14:27:52 +07:00
Robert Hahn
d1e42154f9
Add `.reset()` method to reset given keys back to their default value ( #22 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-09-11 14:12:41 +07:00
Sindre Sorhus
c5d68262ea
Minor readme tweak
...
Fixes #17
2019-08-15 12:48:10 +02:00
Sindre Sorhus
265b15dad6
2.0.2
2019-07-25 08:54:14 +07:00
Sindre Sorhus
90af2100b2
2.0.1
2019-07-08 14:09:19 +07:00
Sindre Sorhus
66f81ce2af
Readme tweaks
2019-07-08 14:08:11 +07:00
Sindre Sorhus
20cf038f60
Enable the repo Sponsor button
2019-05-23 21:47:52 +07:00
Sindre Sorhus
33f21390bc
Mention strongly-typed change object for observation
2019-05-09 18:08:18 +07:00
Sindre Sorhus
12eedf762b
2.0.0
2019-04-05 14:24:30 +07:00
Sindre Sorhus
9b6b657f62
Readme tweaks
2018-10-18 14:16:37 +07:00
Sindre Sorhus
b2cfb1e59e
1.0.0
2018-10-17 17:34:47 +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
78c14ecffd
Add related link to the readme
2018-10-11 01:24:30 +07:00
Sindre Sorhus
337c302d2a
Meta tweaks
2018-08-28 10:29:05 +07:00
Sindre Sorhus
4185014534
Support CocoaPods
...
Closes #9
2018-06-20 01:22:48 +07:00
Sindre Sorhus
f9a74ca64a
0.2.0
2018-04-16 17:04:18 +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