KGNGradientView
is a collection UIView
subclasses for linear and radial gradients.
github "kgn/KGNGradientView"
pod 'KGNGradientView'
Gradient
is a struct that encapsulates the start and end colors of the gradient.
A UIView
subclass that creates a view with a linear gradient.
let view = VerticalGradientView()
view.gradient = Gradient(startColor: UIColor.redColor(), endColor: UIColor.blueColor())
A UIView
subclass that creates a view with a radial gradient.
let view = RadialGradientView()
view.gradient = Gradient(startColor: UIColor.redColor(), endColor: UIColor.blueColor())
- Tests
- Travis
- Badges
- Carthage
- CocoaPods
- Description
- Documentation
- AppleTV
- Prebuilt Frameworks
- Travis Test Matrix