Latest 1.0.0
Homepage https://github.com/biubiublue/SmartHexColor
License MIT
Platforms ios 7.0
Frameworks Foundation, UIKit
Authors

SmartHexColor

使用Hex十六进制字符串或者数字来设置颜色

How To Use

Podfile

platform :ios,’7.0′

target "TargetName" do

pod ‘biu_SHColor’

end

Code

Objective-C:

#import <biu_SHColor/SHColor.h>
...

view1.backgroundColor = ColorByHexStr(@"#db7093");

view2.backgroundColor = ColorByHexNum(0Xdb7093);

Latest podspec

{
    "name": "biu_SHColor",
    "version": "1.0.0",
    "summary": "A good way to use hex color",
    "description": "SHColorSmartHexColorSHC",
    "homepage": "https://github.com/biubiublue/SmartHexColor",
    "license": "MIT",
    "authors": {
        "biubiublue": "[email protected]"
    },
    "social_media_url": "http://www.jianshu.com/u/5026cf85b55e",
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/biubiublue/SmartHexColor.git",
        "tag": "1.0.0"
    },
    "source_files": "SHColor/*.{h,m}",
    "exclude_files": "Classes/Exclude",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This