标签:
1 #define A 1 2 #define B 2
1 #import "myhead.h"
1 #ifdef __OBJC__ 2 3 #import <Foundation/Foundation.h> 4 #import <UIKit/UIKit.h> 5 6 #endif
1 #ifdef __OBJC__ 2 3 #import <Foundation/Foundation.h> 4 #import <UIKit/UIKit.h> 5 6 #ifdef DEBUG 7 #define MyNSLog(...) NSLog(__VA_ARGS__) 8 #else 9 #define MyNSLog(...) 10 #endif 11 12 #endif
1 MyNSLog(@"测试 %d - %d", A, B);
iOS 项目中的文件 - projectname-Info.plist - projectname-Prefix.pch
标签:
原文地址:http://www.cnblogs.com/kengsir/p/4267661.html