Latest | 0.2.0 |
---|---|
Homepage | https://github.com/sweetmans/SMColor |
License | MIT |
Platforms | ios 8.0 |
Frameworks | UIKit |
Authors |
SMColor Create By Sweetman, Inc
Features
- [x] Categories for
UIColor
- [x] So easy to use.x
- [x] Support Swift 3.0
- [x] Performances!
- [x] Use GCD and ARC
Requirements
- iOS 10.0 or later
- watchOS 3.0 or later
- OS X 12.0 or later
- Xcode 8.0 or later
Getting Started
Installation
SMColor is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod "SMColor"
import SMColor
Use
Specify your Hex Color:
view.backgroundColor = UIColor.hex(hex: "#FB8DB4")
Using Builded Color
view.backgroundColor = UIColor.red200
view.textLble.textColor = UIColor.green500
Licenses
All source code is licensed under the MIT License.
Author
- [x] Created by Sweetman, Inc on 2017.
- [x] GuangZhou City. CN 510000
- [x] https://www.sweetman.cc
Latest podspec
{ "name": "SMColor", "version": "0.2.0", "summary": "UIColor Extension provice most popular builded color.", "description": "Featuresnn Categories for UIColorn So easy to use.n Support Swift 3.0n Performances!n Use GCD and ARCnRequirementsnniOS 10.0 or laternwatchOS 3.0 or laternOS X 12.0 or laternXcode 8.0 or laternGetting Started", "homepage": "https://github.com/sweetmans/SMColor", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "sweetmans": "[email protected]" }, "source": { "git": "https://github.com/sweetmans/SMColor.git", "tag": "0.2.0" }, "platforms": { "ios": "8.0" }, "source_files": "SMColor/Classes/**/*", "frameworks": "UIKit", "pushed_with_swift_version": "3.0" }
Tue, 07 Feb 2017 02:20:04 +0000