NhfUIColorUnit 1.0.2× TestsTested ✗ LangLanguage Obj-CObjective C License MIT ReleasedLast Release Sep 2016Maintained by 牛宏飞.Installation Guide×Installation Guide for NhfUIColorUnitYou want to add pod 'NhfUIColorUnit', '~> 1.0' similar to the following to your Podfile:target 'MyApp' do pod 'NhfUIColorUnit', '~> 1.0' endThen run a pod install inside your terminal, or from CocoaPods.app.Alternatively to give it a test run, run the command:pod try NhfUIColorUnitSee PodspecGitHub RepoPage on CocoaPods.orgNhfUIColorUnit 1.0.2By牛宏飞nhfc99/NhfUIColorUnitGitHub Repo 介绍 用于常用颜色设置 安装 pod 'NhfUIColorUnit' 手动下载然后将文件夹拖至工程中即可 使用方法 /** 将颜色值转成UIColor * @param colorCode * @return */ (UIColor*)colorWithNumber:(int)colorCode;