摘要:
KVC1.KVC直接修改某个对象的某个属性 [stu setValue:@"MIKE" forKey:@"name"]; [stu setValue:@10 forKey:@"age"];2.KVC也可以批量设置某个对象的所有属性 [stu setValuesForKeysWithDictionary:@{@"age": @10,@"name":@"rose"}];3.批量获取对象的属性 NSDictionary *dict = [stu dictionaryWithValu 阅读全文
posted @ 2013-12-26 10:06
nx的封装
阅读(243)
评论(0)
推荐(0)

浙公网安备 33010602011771号