Skip to content

Latest commit

 

History

History
81 lines (57 loc) · 2.05 KB

File metadata and controls

81 lines (57 loc) · 2.05 KB

2.2.1 (2016-08-03)

  • NSUserDefaults.set() is now public (useful for adding support for custom types) #85 @goktugyil
  • Support for Xcode 8 (Swift 2.3) for Carthage users #100 @KevinVitale

2.2.0 (2016-04-10)

  • Support for archive() and unarchive() on RawRepresentable types
  • Improved documentation

2.1.3 (2016-03-02)

  • Fix Carthage build
  • Suppress deprecation warnings in tests

2.1.2 (2016-03-01)

  • Fixed infinite loop bug
  • Added Travis CI integration
  • Added Swift Package Manager support

2.1.1 (2016-02-29)

  • Documentation improvements

2.1.0 (2016-02-29)

  • Added removeAll()
  • Added tvOS and watchOS support
  • Fixed error when linking SwiftyUserDefaults with app extension targets
  • Minor tweaks and fixes

2.0.0 (2015-09-18)

  • Introducing statically-typed keys
    • Define keys using DefaultsKey
    • Extend magic DefaultsKeys class to get access to Defaults[.foo] shortcut
    • Support for all basic types, both in optional and non-optional forms
    • Support for arrays of basic types, such as [Double] or [String]?
    • Support for basic [String: AnyObject] dictionaries
    • hasKey() and remove() for static keys
    • You can define support for static keys of custom NSCoder-compliant types
    • Support for NSURL in statically-typed keys
  • [Carthage] Added OS X support

Deprecations

  • +=, ++, ?= operators are now deprecated in favor of statically-typed keys

1.3.0 (2015-06-29)

  • Added non-optional Proxy getters
    • string -> stringValue, etc.
    • non-optional support for all except NSObject and NSDate getters
  • Fixed Carthage (Set iOS Deployment target to 8.0)
  • Converted tests to XCTest

1.2.0 (2015-06-15)

  • Carthage support

1.1.0 (2015-04-13)

  • Swift 1.2 compatibility
  • Fixed podspec

1.0.0 (2015-01-26)

  • Initial release
  • Proxy getters:
    • String, Int, Double, Bool
    • NSArray, NSDictionary
    • NSDate, NSData
    • NSNumber, NSObject
  • subscript setter
  • hasKey()
  • remove()
  • ?=, +=, ++ operators on Proxy
  • global Defaults shortcut