Created
August 26, 2015 13:24
-
-
Save pi-chan/05508728d576db5fbca5 to your computer and use it in GitHub Desktop.
sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var d : [String:AnyObject] = ["Hoge":"Fuga", "Foo":"Bar"] | |
if let s = d["Hoge"] as? String { | |
println(s) | |
} | |
if let s = d["Hog"] as? String { | |
println(s) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment