摘要: 1、release时,屏蔽logC代码 #ifdefined(DEBUG)&&DEBUG==1#else#defineNSLog(...){};#endif#if defined (DEBUG) && DEBUG == 1#else#define NSLog(...) {};#endif2、在主线程... 阅读全文
posted @ 2015-03-31 14:33 wx0123 阅读(362) 评论(0) 推荐(0) 编辑