NSLog会严重的消耗性能,所以判断项目的状态来决定NSLog是否运行
#ifdef DEBUG // 处于开发阶段
#define MyLog(...) NSLog(__VA_ARGS__)
#else // 处于发布阶段
#define MyLog(...)
#endif
// RGB颜色
#define MyColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
// 测试时用的随机色
#define MyRandomColor HWColor(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256))