饮歌长啸
只不过是苹果给objective-C一种新写法而已比如NSNumber * number = [NSNumber numberWithInt:1];NSArray * array = [NSArray arrayWithObjects:@"one", @"two", nil];NSDictionary * dict = [NSDictionary dictionaryWithObjectsAndKeys:@"value1", @"key1", @"value2", @"key2", nil];可以用NSNumber * number = @1;NSArray * array = @[@"one", @"two"];NSDictionary * dict = @{@"key1":@"value1", @"key2":@"value2"};这没有什么好深入研究的