Skip to content

2.1.0

Compare
Choose a tag to compare
@zenangst zenangst released this 11 May 00:33
· 34 commits to master since this release

Adds new methods on Dictionary for mapping Double, Float, Int and String.
You can also use the new value(forKey:ofType:) to achieve the same thing.
They can be used like this:

dictionary.double("key")
dictionary.float("key")
dictionary.int("key")
dictionary.string("key")
dictionary.value(forKey: "key", ofType: String.self)