摘要: 最近因项目需要,在网上找了一些代码,整合了一下,实现的效果就是将10进制的RGB色值转换IOS用的UIColor,方法还有缺陷,有待改进UIColor *getColorFromString(NSString *colorString){ int colorInt=[colorString intValue]; if(colorInt<0) return [UIColor whiteColor]; NSString *nLetterValue; NSString *colorString16 =@""; int ttmpig; for ... 阅读全文
posted @ 2013-08-22 09:44 Dino.Tang 阅读(1282) 评论(0) 推荐(0) 编辑