摘要: - (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{ [self downloadImage]; } -(void)downloadImage{ dispatch_group_t group = di 阅读全文
posted @ 2018-06-28 11:48 懂事长qingzZ 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1.队列组两种使用方法2.队列组等待 wait 阅读全文
posted @ 2018-06-28 10:31 懂事长qingzZ 阅读(468) 评论(0) 推荐(0) 编辑
摘要: - (void)forDemo{ //全都是在主线程操作的 for (NSInteger i = 0; i{number = 1, name = main} 2018-06-27 11:33:44.226845+0800 5线程操作-GCD-快速迭代[7715:77291] --{number = 1, name = main} 2018-06-27 11:3... 阅读全文
posted @ 2018-06-28 10:28 懂事长qingzZ 阅读(127) 评论(0) 推荐(0) 编辑