TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2015 |
SPMSupports SPM | ✗ |
Maintained by David Keegan.
KGNGradientView
is a collection UIView
subclasses for linear and radial gradients.
A UIView
subclass that creates a view with a linear gradient.
let view = GradientView()
view.topColor = UIColor.redColor()
view.bottomColor = UIColor.blueColor()
A UIView
subclass that creates a view with a radial gradient.
let view = RadialGradientView()
view.innerColor = UIColor.redColor()
view.outerColor = UIColor.blueColor()