iOS ifdef ifndef endif

#ifdef DEBUG //標識符
//定義過執行
#else
//未定義過執行
#endif


#ifndef DEBUG//標識符
//未定義過執行
#else
//定義過執行
#endif


#if (5>4)   //表達式
//真執行
#else
//假執行
#endifplugin

相關文章
相關標籤/搜索