摘要: 类似于java5提供的autoboxing功能。以前的写法:NSNumber * number = [NSNumber numberWithInt:1];NSArray * array = [NSArray arrayWithObjects:@"one", @"two",nil];NSDictionary * dict = [NSDictionarydictionaryWithObjectsAndKeys:@"value1", @"key1", @"value2",@"key2&quo 阅读全文
posted @ 2014-04-01 18:34 白条围巾 阅读(250) 评论(0) 推荐(0) 编辑