摘要:
一:NSOperation 两个子类+重写main方法NSInvocationOperationNSBlockOperation 有个类方法 BlockOprationWith:还有就是自己个子类重写main方法,把任务写在main方法里面二:NSOperationQueue 线程管理器类方法 mainQueue类方法 currentQueuealloc init 新Queue三:使用代码:(ARC环境)#pragma mark NSOperationQueue - (void)doBtnFoure{ //一:主线程测试; //NSOperationQueue *mainQueue... 阅读全文
posted @ 2013-12-17 15:05
cocoajin
阅读(1140)
评论(0)
推荐(0)
浙公网安备 33010602011771号