摘要: 阅读全文
posted @ 2016-10-11 11:24 小小鸟菜 阅读(1086) 评论(0) 推荐(0) 编辑
摘要: 定义一个类方法: 声明: + (UIImage *)imageFromColor:(UIColor *)color; 实现: + (UIImage *)imageFromColor:(UIColor *)color{ CGRect rect = CGRectMake(0, 0, 3, 3); UIG 阅读全文
posted @ 2016-10-11 11:07 小小鸟菜 阅读(1366) 评论(0) 推荐(0) 编辑