Created
June 11, 2014 17:50
-
-
Save mwhuss/5ac5c39f94155319fb23 to your computer and use it in GitHub Desktop.
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
| func makeADictionary() -> NSDictionary { | |
| return NSDictionary("Sam", forKey: "name") | |
| } | |
| var user: Dictionary = makeADictionary() | |
| user: Dictionary<NSObject, AnyObject> = { | |
| [0] = { | |
| key = @"name" | |
| value = "Sam" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment