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