Objective-c
使用方法 UIColor* customColor = UIColorHex(fd8224)
#ifndef UIColorHex
#define UIColorHex(_hex_) [UIColor colorWithHexString:((__bridge NSString *)CFSTR(#_hex_))]
#endif
``
使用方法 UIColor* customColor = UIColorHex(fd8224)
#ifndef UIColorHex
#define UIColorHex(_hex_) [UIColor colorWithHexString:((__bridge NSString *)CFSTR(#_hex_))]
#endif
``