/**
* 处理NSLog的debug版和release版
*/
#ifndef __OPTIMIZE__
#define NSLog(...) printf("%s\n",[[NSString stringWithFormat:__VA_ARGS__] UTF8String])
#else
#define NSLog(...) {}
#endif
/**
* 处理NSLog的debug版和release版
*/
#ifndef __OPTIMIZE__
#define NSLog(...) printf("%s\n",[[NSString stringWithFormat:__VA_ARGS__] UTF8String])
#else
#define NSLog(...) {}
#endif
本文标题:* 处理NSLog的debug版和release版
本文链接:https://www.haomeiwen.com/subject/wkgxmttx.html
网友评论