Skip to content
UIColor Extension provice most popular builded color.
Swift Shell Ruby Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SMColor
SMColorDemo
.gitignore
.travis.yml
LICENSE
README.md
SMColor.podspec

README.md

SMColor

SMColor Create By Sweetman, Inc

Version License Platform

Features

  • Categories for UIColor
  • So easy to use.x
  • Support Swift 3.0
  • Performances!
  • 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

You can’t perform that action at this time.