【文件属性】:
文件名称:UIColor-Nero:使你的UIColor类变得好用
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-08 21:43:10
Objective-C
UIColor-Nero
使UIColor类可以根据十六进制色号来设置颜色的方法
使UIColor类可以快速根据RGB设置颜色的方法
使UIColor类可以快速根据RGBa设置颜色的方法
使UIColor类可以获得随机色(可设置不透明度)的方法
###For Example
yourView.backgroundColor = [UIColor colorWithSixteenColorNumber:@"069ef6"];
yourView.backgroundColor = RGB_COLOR(55, 155, 255) ;
yourView.backgroundColor = RGB_COLOR(55, 155, 255, 1.0) ;
yourView.backgroundColor = [UIColor randomColor];
yourView.backgroundColor
【文件预览】:
UIColor-Nero-master
----UIColor+Nero.h(1KB)
----UIColor+Nero.m(3KB)
----README.md(618B)