SwiftyUserDefaults v2.0.0 Release Notes
Release Date: 2015-09-18 // over 8 years ago-
- Introducing statically-typed keys
- Define keys using
DefaultsKey
- Extend magic
DefaultsKeys
class to get access toDefaults[.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()
andremove()
for static keys- You can define support for static keys of custom
NSCoder
-compliant types - Support for
NSURL
in statically-typed keys
- Define keys using
- 👍 [Carthage] Added OS X support
🗄 Deprecations
- 🗄
+=
,++
,?=
operators are now deprecated in favor of statically-typed keys
- Introducing statically-typed keys