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