#define RGBColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1] #define RGBAColor(r, g, b ,a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:a] #define RandColor RGBColor(arc4random_uniform(255), arc4random_uniform(255), arc4random_uniform(255)) #define NoteCenter [NSNotificationCenter defaultCenter]
时间: 2024-11-05 19:02:00