Created
June 1, 2009 14:27
-
-
Save akio0911/121446 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
#import <Foundation/Foundation.h> | |
int main() { | |
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; | |
NSDictionary* dictionary = [NSMutableDictionary dictionary]; | |
NSLog(@"%@", dictionary); | |
[dictionary setValue:@"value1" forKey:@"key1"]; | |
NSLog(@"%@", dictionary); | |
NSLog(@"%@", [dictionary valueForKey:@"key1"]); | |
[pool release]; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment