A IBDesignable UIView class with a gradient rendered and customizable in the storyboard (effect, direction,...) and support gradient animation.
- Set the class to GradientMasterView.
- Customizable direction and effect you like.
- Run it.
gradientView.animationDuration = 5.0
gradientView.startAnimation()
gradientView.stopAnimation()
To run the example project, clone the repo, and run pod install
from the Example directory first.
GradientMaster is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'GradientMaster'
catchzeng, [email protected]
GradientMaster is available under the MIT license. See the LICENSE file for more info.