Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.34 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.34 KB

Version License Platform Swift 3.0+ Xcode 8.2+

Example of usage

import Colorify
...
self.view.backgroundColor = Colorify.Kale
...
self.view.addGradient(from: Colorify.Lime, to: Colorify.LightGreen, direction: .topLeftBottomRight)
...

Gradient support: left - right, top - bottom, topLeft - bottomRight, right - left, bottom - top

Examples:
top - bottom, topLeft - bottomRight

Installation

Colorify is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod ‘Colorify’, '~> 1.2

Author

Damian Paśko,
[email protected],
https://github.com/czater

License

Colorify is available under the MIT license. See the LICENSE file for more info.