GCD深入了解
摘要:
一.GCD应用 单例模式 static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ NSLog(@"执行一次%@",[NSThread currentThread]); }); 二延迟操作 //1、 NSLog(@"开始执行"); 阅读全文
posted @ 2016-03-15 22:34 杨春歌 阅读(175) 评论(0) 推荐(0)
posted @ 2016-03-15 22:34 杨春歌 阅读(175) 评论(0) 推荐(0)
posted @ 2016-03-15 22:26 杨春歌 阅读(238) 评论(0) 推荐(0)
posted @ 2016-03-15 22:08 杨春歌 阅读(148) 评论(0) 推荐(0)