美文网首页与时俱进的IT
常用基本框架及颜色代码

常用基本框架及颜色代码

作者: 社会主义顶梁鹿 | 来源:发表于2018-07-29 16:09 被阅读0次

框架

founfation:基础框架

uikit:看得见的框架

avfoundation:媒体类框架、

coreimage:处理图片 可以实现美图秀秀的功能

quartzcore:动画类 绘图类

corelocation:地理定位(lba location base sewer)

covedata:数据持久化

各种颜色代码

+ (UIColor *)blackColor;      // 0.0 white 

+ (UIColor *)darkGrayColor;   // 0.333 white 

+ (UIColor *)lightGrayColor;  // 0.667 white 

+ (UIColor *)whiteColor;      // 1.0 white 

+ (UIColor *)grayColor;       // 0.5 white 

+ (UIColor *)redColor;        // 1.0, 0.0, 0.0 RGB 

+ (UIColor *)greenColor;      // 0.0, 1.0, 0.0 RGB 

+ (UIColor *)blueColor;       // 0.0, 0.0, 1.0 RGB 

+ (UIColor *)cyanColor;       // 0.0, 1.0, 1.0 RGB 

+ (UIColor *)yellowColor;     // 1.0, 1.0, 0.0 RGB 

+ (UIColor *)magentaColor;    // 1.0, 0.0, 1.0 RGB 

+ (UIColor *)orangeColor;     // 1.0, 0.5, 0.0 RGB 

+ (UIColor *)purpleColor;     // 0.5, 0.0, 0.5 RGB 

+ (UIColor *)brownColor;      // 0.6, 0.4, 0.2 RGB 

(UIColor *)clearColor;  

相关文章

网友评论

    本文标题:常用基本框架及颜色代码

    本文链接:https://www.haomeiwen.com/subject/lszzmftx.html