iOS小技能:NSLog调试技巧 移动开发 2022-06-09 13:14 0 阅读 文章目录 前言 I 自定义preprocessor macro 1.1 利用Configuration 配置不同的编译环境 1.2 发布模式关闭NSLog II NSLog调试技巧 2.1 Where to find NSLog's output 2.2 Improved logging in Objective-C 2.3 Objective-C's boxing capability (`装箱`快速构造数字对象) 2.4 打印调试(强化NSLog) 2.5 知识补充:装箱和拆箱 III benchmarking的时间测量 3.1 CACurrentMediaTime 3.2 dispatch_be 猜你喜欢