Colorify - simple, yet powerful color library.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 5ee8928 Aug 1, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Colorify gradient Jul 31, 2017
.gitignore 1 Jul 1, 2017
ColorifyGradient1.png gradient Jul 31, 2017
ColorifyGradient2.png gradient Jul 31, 2017
ColorifyGradient3.png gradient 3 Jul 31, 2017
Colorify_screen.png new ss Jul 6, 2017
LICENSE 1 Jul 1, 2017
README.md Update README.md Aug 1, 2017
_Pods.xcodeproj 1 Jul 1, 2017

README.md

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,
damianpasko92@gmail.com,
https://github.com/czater

License

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