ios零碎知识总结! 1、开发中debug和release的NSLog宏定义。 #ifdef DEBUG #define NSLog(...) NSLog(__VA_ARGS__) #else #define NSLog(...) #endif