Colorify 1.2

Colorify 1.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by damianpasko.




  • By
  • Damian Paśko

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.1’

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.