本帖最后由 Er01c 于 2014-5-7 10:48 编辑
- NSMutableDictionary *person = [@{
- @"firstName" : @"Clark",
- @"lastName" : @"Kent",
- @"age" : [NSNumber numberWithInt:27]
- } mutableCopy];
-
- NSLog(@"Superman's first name is %@", person[@"firstName"]);
- // NSLog(@"Superman's first name is %@", [person objectForKey:@"firstName"]);
-
- // person[@"firstName"]是否在编译预处理时转为[person objectForKey:@"firstName"]?
复制代码
|