摘要:
[IPhone] 仅在Debug编译的NSLog一般在开发的时候,会使用NSLog来输出一些除错讯息到Console视窗但是如果仅用NSLog的话首先利用下面代码view plaincopy to clipboardprint?#ifdefDEBUG#defineDebugLog(log,...)NSLog(log,##__VA_ARGS__)#undefDebugLog#defineDebugLog(log)NSLog(log)#else#defineDebugLog(log,...)#undefDebugLog#defineDebugLog(log)NSLog(log)#endif在Xco 阅读全文
posted @ 2011-04-29 13:43
禚来强
阅读(375)
评论(0)
推荐(0)
浙公网安备 33010602011771号