摘要:
类似于java5提供的autoboxing功能。以前的写法:NSNumber * number = [NSNumber numberWithInt:1];NSArray * array = [NSArray arrayWithObjects:@"one", @"two",nil];NSDictionary * dict = [NSDictionarydictionaryWithObjectsAndKeys:@"value1", @"key1", @"value2",@"key2&quo 阅读全文