Howtomakedebugcodeusing#ifdefdirective.Objective-c我想提出一个关于使用#ifdef指令进行开发的问题。我想在Objective-c中编写一些代码仅用于调试,例如:在主函数中这样做:1#defineDEBUG_LEVEL在我的界面中这样做:1234#ifdefDEBUG_LEVELBOOLeditorIsDragged;BOOLeditorIsSelected;#endif....其他属性1234#ifdef#DEBUG_LEVEL@property(nonatomic,readwrite)BOOLeditorIsDragged;@propert