Sindre Sorhus
|
60013d90e2
|
Improve documentation
|
2022-11-18 15:42:31 +07:00 |
Sindre Sorhus
|
35943225a0
|
Remove `DefaultsBaseKey` (#123)
|
2022-11-18 10:53:54 +07:00 |
hank121314
|
fbc67fd179
|
Support dynamic default value (#121)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2022-11-17 17:36:29 +07:00 |
Sindre Sorhus
|
1b1a057220
|
Use Swift Package Index for docs
|
2022-11-13 16:29:31 +07:00 |
Sindre Sorhus
|
dd44190ddf
|
Improve docs for the defaults key
Closes #59
|
2022-11-09 00:48:19 +07:00 |
hank121314
|
be7e30ba36
|
Support serializing and deserializing nested custom types (#118)
|
2022-10-28 15:27:17 +07:00 |
Sindre Sorhus
|
b23fb7b057
|
Fix tests
|
2022-10-27 16:48:14 +07:00 |
Sindre Sorhus
|
176aa63666
|
Minor tweaks
|
2022-10-22 00:36:48 +07:00 |
Sindre Sorhus
|
bc1af5d872
|
Upgrade to Swit 5.7
|
2022-09-22 23:57:28 +07:00 |
Sindre Sorhus
|
981ccb0a01
|
Minor tweaks
|
2022-06-10 14:58:24 +07:00 |
hank121314
|
9e65eac602
|
Fix preserving color space for the `Color` type (#105)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2022-06-10 14:52:03 +07:00 |
Sindre Sorhus
|
001adc694b
|
Make `Defaults.AnyKey` conform to `Equatable` and `Hashable` (#104)
|
2022-06-04 19:08:34 +07:00 |
Sindre Sorhus
|
d1e2109fc9
|
Minor tweaks
|
2022-05-14 13:15:43 +07:00 |
hank121314
|
bab3087067
|
Add support for `ClosedRange` and `Range` (#102)
|
2022-05-12 15:24:06 +07:00 |
Sindre Sorhus
|
3535f3d088
|
Add tests for #97
|
2022-04-20 18:16:30 +07:00 |
hank121314
|
119f654d44
|
Xcode 13.3 workaround (#95)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2022-03-16 00:28:40 +07:00 |
Sindre Sorhus
|
c9198bb1d0
|
Add support for `UUID` (#92)
|
2022-01-27 22:14:21 +07:00 |
Sindre Sorhus
|
8c0d80e783
|
Remove moot conformance (#91)
|
2022-01-25 15:08:01 +07:00 |
Sindre Sorhus
|
64010fdcc2
|
Fix test warning
|
2022-01-25 12:34:27 +07:00 |
Sindre Sorhus
|
a6c1c064fa
|
Document benefits over `@AppStorage`
|
2022-01-23 13:43:12 +07:00 |
Sindre Sorhus
|
5b30f01e46
|
Code style tweaks
|
2021-11-15 02:53:40 +07:00 |
hank121314
|
55f3302c3a
|
Add support for SwiftUI `Color` (#84)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2021-10-16 19:01:16 +07:00 |
Sindre Sorhus
|
8a6e4a96fd
|
Require macOS 10.13, iOS 12, tvOS 12, watchOS 5
Fixes #81
|
2021-10-12 14:04:16 +07:00 |
hank121314
|
5f16cefebe
|
Add `Defaults.PreferNSSecureCoding` and `Defaults.PreferRawRepresentable` (#83)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2021-10-12 14:03:34 +07:00 |
Sindre Sorhus
|
04f9b3f45e
|
Support types that conform to both `Codable` and `NSSecureCoding` (#80)
|
2021-09-11 10:49:06 +07:00 |
Sindre Sorhus
|
e27b3666d2
|
Remove unused function
|
2021-09-08 17:23:08 +07:00 |
Sindre Sorhus
|
25b4efee96
|
Code style fixes
|
2021-08-17 01:05:17 +02:00 |
Sindre Sorhus
|
62cb8a490d
|
Run tests on macOS 11
|
2021-08-17 01:02:13 +02:00 |
Sindre Sorhus
|
d9cc31d368
|
Meta tweaks
|
2021-08-15 11:30:23 +02:00 |
Sindre Sorhus
|
012a475cc0
|
Minor documentation tweaks
|
2021-07-12 14:24:20 +02:00 |
hank121314
|
1b629298f4
|
Add `Defaults.AnySerializable` (#73)
|
2021-07-12 14:10:43 +02:00 |
Sindre Sorhus
|
6e42795824
|
Add `.defaultValue` and `.isDefaultValue` to `@Default` (#76)
|
2021-06-18 13:15:13 +07:00 |
Sindre Sorhus
|
6ff23ff1f8
|
Minor cleanup (#74)
|
2021-06-10 13:06:19 +07:00 |
Sindre Sorhus
|
63d93f97ad
|
Add `Defaults.Toggle` (#69)
|
2021-05-18 19:56:55 +07:00 |
Sindre Sorhus
|
64351c25ed
|
Welcome @hank121314 as a maintainer 🎉
|
2021-05-18 15:29:03 +07:00 |
Sindre Sorhus
|
6d2d648085
|
Improve migration guide
|
2021-05-17 16:49:10 +07:00 |
Sindre Sorhus
|
9e034d8b44
|
Drop support for Carthage and CocoaPods
Fixes #62
|
2021-05-17 01:17:57 +07:00 |
Sindre Sorhus
|
4a0f5e7c3e
|
Clean up some docs
|
2021-05-17 00:16:21 +07:00 |
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
|
f64b3ca562
|
Add related package to readme
|
2021-05-01 18:38:56 +07:00 |
Sindre Sorhus
|
229dea452f
|
4.2.2
|
2021-04-18 23:48:02 +07:00 |
OCJvanDijk
|
6158b9bdb3
|
Fix crash in `.publisher()` caused by immediately cancelling subscriber (#66)
|
2021-04-18 23:45:37 +07:00 |
Sindre Sorhus
|
63dcea312f
|
4.2.1
|
2021-02-26 17:29:11 +07:00 |
hank121314
|
c956886bba
|
Fix compiler complain that `NSSecureCodingKeyChange` is only available in iOS 11.0 or newer (#64)
|
2021-02-26 17:27:21 +07:00 |
Sindre Sorhus
|
6546b8ec22
|
4.2.0
|
2021-02-20 20:31:28 +07:00 |
iurii iaremenko
|
760dbfb077
|
Support `.removeDuplicates()` for `Defaults.publisher` (#60)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
|
2021-02-20 20:29:15 +07:00 |
Sindre Sorhus
|
030c70a55e
|
Move to GitHub Actions
|
2021-01-25 00:08:31 +07:00 |
Sindre Sorhus
|
5b44e9fac2
|
Fix readme typo
#58
|
2020-12-29 22:55:15 +07:00 |
Sindre Sorhus
|
d328da99d5
|
Minor tweaks
|
2020-11-30 14:22:38 +07:00 |
Sindre Sorhus
|
93fbdf7f09
|
Upgrade to Swit 5.3
|
2020-09-17 00:24:52 +02:00 |