上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 34 下一页
摘要: KVO使用的方法 /** * Used by Foundation's Key-Value Observing. * * @warning Do not call this function yourself. */ OBJC_EXPORT Class objc_duplicateClass(Cla 阅读全文
posted @ 2020-10-19 16:05 雨筱逸悠 阅读(90) 评论(0) 推荐(0) 编辑
摘要: [NSThread detachNewThreadWithBlock:^{ pid_t p1 = fork(); pid_t p2 = fork(); NSLog(@"当前线程%@ 1:%d",[NSThread currentThread],p1); NSLog(@"当前线程%@ 2:%d",[N 阅读全文
posted @ 2020-10-10 19:00 雨筱逸悠 阅读(116) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-10-10 14:27 雨筱逸悠 阅读(9) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-09-17 17:52 雨筱逸悠 阅读(4) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-09-17 09:42 雨筱逸悠 阅读(22) 评论(0) 推荐(0) 编辑
摘要: dispatch_semaphore_t lock = dispatch_semaphore_create(1); dispatch_async(dispatch_get_global_queue(0, 0), ^{ NSLog(@"任务1"); dispatch_semaphore_wait(lo 阅读全文
posted @ 2020-09-10 19:23 雨筱逸悠 阅读(625) 评论(0) 推荐(0) 编辑
摘要: - (void)drawRadialGradient:(CGContextRef)context path:(CGPathRef)path startColor:(CGColorRef)startColor endColor:(CGColorRef)endColor { CGColorSpaceRe 阅读全文
posted @ 2020-09-10 11:37 雨筱逸悠 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 查看信息 lipo -info *.a 拆分为不同的框架 lipo *.a -thin arm64 -output *-arm64.a 提取对应框架.a中所有的.o ar -x *-armX.a 合并.o为.a libtool -static -o *-armX.a *.o 合并不同框架.a为一个. 阅读全文
posted @ 2020-09-04 18:36 雨筱逸悠 阅读(195) 评论(0) 推荐(0) 编辑
摘要: __cxx_global_var_init() 方法是C++全局变量初始化方法 但是有些没有执行初始化而访问时出现失败 出现该情况的项目为,引用一个c++源码的SDK,里面的部分.cpp/.cc内容没有参与链接,增加下面配置 阅读全文
posted @ 2020-09-03 18:28 雨筱逸悠 阅读(652) 评论(0) 推荐(0) 编辑
摘要: https://github.com/Tencent/ncnn/releases 这里有编译好的release版本sdk,按需下载 https://vulkan.lunarg.com/sdk/home#mac 下载vulkansdk,选择Mac版本,下载解压后找到iOS版本 将下载的四个framew 阅读全文
posted @ 2020-09-03 11:58 雨筱逸悠 阅读(1316) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 34 下一页