UIGradients
Overview
UIGradients project contains list of Gradient colors based on https://uigradients.com/
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation with CocoaPods
UIGradients is available through CocoaPods. To install it, simply add the following line to your Podfile:`
pod 'UIGradients'
Usage
Gradients can apply any UIView type item.
UIButton
let gradient = UIGradients.facebook_messenger.gradientLayerFor(view: btn, angle: 0)
btn.layer.insertSublayer(gradient, at: 0)
Example Project
An example project is included with this repo. To run the example project, clone the repo, and run pod install from the Example directory first.
Author
Zafer AYAN, [email protected]
License
UIGradients is available under the MIT license. See the LICENSE file for more info.