The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
- `@UserDefault` now exposes as `wasLoadedSuccessful` whether the latest load (initial or manual through `loadValue()`) succeeded, useful for migrating data to an app group.
- Specified defaults suites are now actually used rather than always using `.standard` (whoops!)
- Selected defaults suite is now exposed publicly.
SwiftUI Integration
2 years ago
I finally found a simple way to integrate the `@UserDefault` wrapper with SwiftUI! Not sure why it took me so long, but I decided to add a lightweight wrapper to make it more ergonomic. Use `@UserDefault.State` for all your SwiftUI needs :)
- Updated HandyOperators
- Now compatible with tvOS and watchOS
- Improvements to documentation & an actual readme
- Operators now come from a package dependency rather than a file, fixing ambiguity issues when dependents had their own definitions for the same operators.
The Non-Beta Updateβ’
4 years ago
This update applies the changes required and/or possible in the final release of Xcode 11 and Swift 5.1.
- The key no longer has an argument label, since it'll usually be the only argument and its meaning is obvious from the context.
- Default values are now provided as initial values with `=` rather than an explicit argument to the wrapper init. (Because I realized I could easily work around [the compiler crash preventing me from doing so earlier](https://bugs.swift.org/browse/SR-11059).)
Initial Release
4 years ago
Use at your own risk!