Latest 1.0.2
Homepage https://github.com/nhfc99/NhfUIColorUnit
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, CoreGraphics, UIKit
Authors

介绍

用于常用颜色设置

安装

  • pod ‘NhfUIColorUnit’
  • 手动下载然后将文件夹拖至工程中即可

使用方法

/**

  • 将颜色值转成UIColor
  • @param colorCode
  • @return
    */

    • (UIColor*)colorWithNumber:(int)colorCode;

Latest podspec

{
    "name": "NhfUIColorUnit",
    "version": "1.0.2",
    "summary": "u7528u4e8eu5e38u7528u989cu8272u8bbeu7f6e",
    "homepage": "https://github.com/nhfc99/NhfUIColorUnit",
    "license": "MIT",
    "authors": {
        "u725bu5b8fu98de": "[email protected]"
    },
    "source": {
        "git": "https://github.com/nhfc99/NhfUIColorUnit.git",
        "tag": "1.0.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "UIColor+Unit/*.{h,m}",
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This