+(UIColor *) colorWithHexString: (NSString *) hexString { NSString *colorString = [[hexString stringByReplacin…
标签:uicolor
(iOS - Objective-C) HexString & UIColor 互转
2018.9.19 一个简单的宏定义 宏定义可以直接将16进制的颜色值转成对应的UIColor对象; #define UIColorFromRGBA(rgbValue, alpha) [UIColor colorWith…