摘要:
组合一:同步函数 + 自创串行队列 - (void)test { NSLog(@">>>>>>>>>111"); dispatch_queue_t global_queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0) 阅读全文
posted @ 2021-08-09 15:37
码出境界
阅读(151)
评论(0)
推荐(0)
摘要:
组合一:同步函数 + 自创串行队列 - (void)test { NSLog(@">>>>>>>>>111"); dispatch_queue_t queue = dispatch_queue_create("queueName", NULL); dispatch_sync(queue, ^{ NS 阅读全文
posted @ 2021-08-09 14:36
码出境界
阅读(204)
评论(0)
推荐(0)
摘要:
我觉得可以按照这样一条路线学习和梳理Runloop的知识: Runloop <-- 多线程并发 <-- block <-- 内存管理 <-- 指针、引用计数、深浅拷贝 理由: Runloop是基于线程的,Runloop是一种循环机制,但是又不同于while这类循环的同步机制,Runloop可以让线程 阅读全文
posted @ 2021-08-09 10:14
码出境界
阅读(53)
评论(0)
推荐(0)
摘要:
关于异常处理的使用的格式基本就是: @try { } @catch (NSException *exception) { } @finally { } 通过这段时间对异常处理相关知识的整理,我觉得需要掌握以下几个方面的内容: 1 要会创建NSException对象,并且会使用@throw抛出异常 2 阅读全文
posted @ 2021-08-09 00:05
码出境界
阅读(800)
评论(0)
推荐(0)

浙公网安备 33010602011771号