随笔 - 165  文章 - 38  评论 - 85  阅读 - 80万
  2012年11月7日
摘要: 锁的相关介绍可以参照:http://blog.csdn.net/lifengzhong/article/details/7487505看NSConditionLock类的属性方法:lock,unlock:加锁和解锁,是required method。- (id)initWithCondition:(NSInteger)condition :初始化对象。有一个整形的conditon参数,表示条件。- (void)lockWhenCondition:(NSInteger)condition :“The receiver’s condition must be equal to condition 阅读全文
posted @ 2012-11-07 18:25 老Zhan 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 当用到coredata的时候,当你存数据: NSManagedObject *oneObject = [NSEntityDescription insertNewObjectForEntityForName:@"DrawData" inManagedObjectContext:managedObjectContext]; [oneObject setValue:data.backGroundImageURL forKey:@"backGroundImageURL"]; [oneObject setValu... 阅读全文
posted @ 2012-11-07 11:41 老Zhan 阅读(758) 评论(0) 推荐(0) 编辑
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示