Skip to content

Releases: juliand665/UserDefault

Suite Support

14 Dec 07:05
Compare
Choose a tag to compare
  • @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

22 Mar 03:37
Compare
Choose a tag to compare

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 :)

Tiny Update

22 May 03:20
Compare
Choose a tag to compare
  • Updated HandyOperators

Minor Fixes

25 Feb 03:31
Compare
Choose a tag to compare
  • 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™

23 Sep 01:09
Compare
Choose a tag to compare

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.)

Initial Release

02 Aug 14:32
Compare
Choose a tag to compare

Use at your own risk!