iOS 日志
2016-05-31 18:08
253 查看
去掉日志
#ifndef __OPTIMIZE__
#define NSLog(...) NSLog(__VA_ARGS__)
#else
#define NSLog(...){}
#endif
打开Xcode -->>product -->scheme -->>edit scheme -->info 设置debug or release
#ifndef __OPTIMIZE__
#define NSLog(...) NSLog(__VA_ARGS__)
#else
#define NSLog(...){}
#endif
打开Xcode -->>product -->scheme -->>edit scheme -->info 设置debug or release
相关文章推荐
- ios GCD简单介绍 后台运行~
- iOS的事件传递响应链
- nagios添加主机组,服务组,联系组
- ios开发--地址选择封装的一个demo
- iOS&OS X -- Alert 提示框实现
- iOS OC中获取100以内的所有合数,获取某个合数的所有因数.
- iOS AutoLayout阅读笔记4------->AutoLayout入门动画示例(纯IB实现)
- iOS开发之--NSPredicate
- iOS应用内语言切换功能
- iOS View 模糊效果(毛玻璃)
- iOS \'The sandbox is not sync with the Podfile.lock\'问题解决
- iOS 如何检测应用更新?
- iOS获取设备相关信息
- iOS NSNumber语法糖
- iOS开发之正则表达式
- iOS 数据持久化 CoreData的版本迁移
- iOS中的cookie使用
- 大钟的ios开发之旅(7)————简单谈谈GCD
- iOS获取系统中所有音频文件
- NSString新用法 字符串_过滤处理NSCharacterSet 与invertedSet