Skip to content

outofcode-example/iOS-PropertyDictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

iOS-PropertyDictionary

Using dictionary a like property.

Cool

let dictionary: [String: Any] = [
    "int": 1, "string": "abc", "bool": true
]
        
let property = PropertyDictionary(dictionary)
let int = property.int?.intValue
let string = property.string
let bool = property.bool?.boolValue
        
print(int, string, bool)

About

Using dictionary a like property.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages