ite*_*nyh 10 macros objective-c c-preprocessor
当我运行如下代码时:
- (void)viewDidLoad
{
#ifdef DEBUG
NSLog(@"debug");
#else
NSLog(@"here");
#endif
[super viewDidLoad];
}
Run Code Online (Sandbox Code Playgroud)
我看到日志中打印了"debug",但我没有DEBUG明确定义.它在哪里定义?