摘要:
1 选择工程的Target -> Build Settings -> Preprocessor Macros.如图,默认 Debug项,是“DEBUG=1”.2 在程序中设置全局宏定义在程序的 ApplicationName-Prefix.pch 文件中,加入如下,很简单#ifdef DEBUG_MODE#define DLog( s, ... ) NSLog( @"<%p %@:(%d)> %@", self, [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE_ 阅读全文
posted @ 2012-11-21 09:42
hopeanCom
阅读(868)
评论(0)
推荐(0)
摘要:
好岸园http://www.hopean.com/移动开发http://www.hopean.com/dev/yidongkaifa/编程语言http://www.hopean.com/dev/bianchengyuyan/js网页特效http://www.hopean.com/js/源码下载http://www.hopean.com/download/IT图书 http://www.hopean.com/book/ 阅读全文
posted @ 2012-11-21 09:11
hopeanCom
阅读(257)
评论(0)
推荐(0)
浙公网安备 33010602011771号