随笔分类 - 自己学习用
摘要:传值B页面:[NSNotificationCenter defaultCenter] postNotificationName:@"cityName" object:self userInfo:dict];接收A页面:[[NSNotificationCenter defaultCenter] add...
阅读全文
摘要:1. 创建一个线程 dispatch_queue_t globalQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);2. 将任务放进该线程 dispatch_async(globalQueue, ^{ ...
阅读全文

浙公网安备 33010602011771号