xcode debug设置,使用

来源:互联网 发布:unity3d ios 交互 编辑:程序博客网 时间:2024/06/05 15:24
1 debug使用 
#ifdef DEBUG
#define DBLog(...) NSLog(@"%s(%d) %@", __PRETTY_FUNCTION__, __LINE__, [NSString stringWithFormat:__VA_ARGS__])
#else
#define DBLog(...)
#endif

2 debug设置 (默认设置状态)


0 0
原创粉丝点击