Skip to content

Releases: maniramezan/UserDefaultMacro

1.0.0

31 Oct 06:49
aae47fb
Compare
Choose a tag to compare
  • Update SwiftSyntax to official released version, 509.0.0
  • Fix unit tests and code to adopt changes in SwiftSyntax

0.1.0

28 Jul 05:21
be52717
Compare
Choose a tag to compare

Initial release including following attributes:

  • @UserDefaultDataStore: Intended to be used on a type. This adds a local variable and initializer to pass in UserDefaults instance
  • @UserDefaultRecord: Intended to be used on mutable properties on a type attributed by @UserDefaultDataStore to override key or default value for the property
  • @UserDefaultProperty Intended to be used standalone in case UserDefaultDataStore can't be used