赞
踩
OC中这样使用即可
#ifdef DEBUG // debug only code #endif
解决方案 Swift:
#if DEBUG let a = 2 #else let a = 3 #endif
mb的感觉soeasy~ StackOverFlow