iOS - 利用pch文件在程序发布时统一去除打印代码
来源:互联网 发布:2017七天网络成绩查询 编辑:程序博客网 时间:2024/05/01 08:50
在pch文件里加入以下代码
#ifdef DEBUG#define LXFLog(...) NSLog(__VA_ARGS__)#else#define LXFLog(...)#endif
以后在使用打印代码时直接使用 LXFLog 即可
0 0
- iOS - 利用pch文件在程序发布时统一去除打印代码
- iOS开发PCH文件、NSLog真机不打印
- iOS开发-在pch文件中添加全局宏可以打印控制器地址方便调试
- ios程序的 .pch 文件丢失后
- [ios2]发布时去除NSLog打印
- iOS 利用pod_trunk发布程序
- iOS-Pch常用代码
- IOS .pch 文件详解
- IOS .pch 文件详解
- iOS pch文件用法
- iOS pch文件配置
- IOS .pch 文件详解
- iOS pch文件配置
- iOS pch文件详解
- iOS 添加pch文件
- iOS自建PCH文件
- IOS .pch 文件详解
- iOS创建.pch文件
- Android开发自定义控件实现一个圆形进度条【带数值和动画】
- pitch yaw roll
- 整数解
- 前端---CSS中display-block & display-inline
- 如何动态显示图片
- iOS - 利用pch文件在程序发布时统一去除打印代码
- Spring IoC
- MSDN关于I/O完成端口
- Redis 集群部署
- linux基本命令(27)——linux chmod命令
- Only the original thread that created a view hierarchy can touch its views
- 基于语义网络进行图像标注 Image Annotation on the Semantic Web
- 项目day01--<客户上下线时间程序实现>(上)
- android开发使用eclipse遇到的问题