Created
June 26, 2011 17:50
-
-
Save rentzsch/1047798 to your computer and use it in GitHub Desktop.
+numberWithBool: vs +numberWithInt: in ASCII plists: FIGHT!
This file contains 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
// JSTalk: | |
var a = [NSMutableDictionary dictionary]; | |
[a setObject: [NSNumber numberWithBool:YES] forKey:@"Bool"]; | |
[a setObject: [NSNumber numberWithInt:1] forKey:@"Number"]; | |
[a description]; | |
=> | |
{ | |
Bool = 1; | |
Number = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment