Colorify 1.2

Colorify 1.2

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

Maintained by damianpasko.


Downloads

Total494
Week0
Month0

Installs

Apps64
Test Targets2
powered by Segment

GitHub

Stars68
Watchers2
Forks0
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 245



  • 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.