调试
#ifdef DEBUG
#define XXXLog(...) NSLog(__VA_ARGS__)
#else
#define XXXLog(...)
#endif
#define XXXLogFunc XXXLog(@"%s", __func__)
颜色
#define XXXRGBColor(r,g,b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
#define XXXGlobalBG XXXRGBColor(242, 242, 242)
网友评论