2012年2月17日
摘要: 1:将字典中的键值对赋值给对象的各个成员变量。关键字:setValuesForKeysWithDictionary 1.1先定义一个类,该类为Quotation 声明如下: @interfaceQuotation:NSObject{}@property(nonatomic,retain)NSString*character;@property(nonatomic,assign)NSIntegeract;@property(nonatomic,assign)NSIntegerscene;@property(nonatomic,retain)NSString*quotation;@end@... 阅读全文
posted @ 2012-02-17 11:28 wtq 阅读(471) 评论(0) 推荐(0) 编辑