HexColorService - 将16进制颜色字符串转成UIColor
jopen
10年前
能够将16进制颜色字符串转成UIColor。
HexColorService Libary is a open source tool, which can help you get UIColor easily from special hex string,like "#23aaff".
How to Use?
drag this source files to your project, and import UIColor+HexColor.h
#import UIColor+HexColor.h
use like follow:
UIColor *myColor=[UIColor getColorFromHex:@"#eeeeee"];