GradientMaster 0.1.0

GradientMaster 0.1.0

Maintained by CatchZeng.



  • By
  • catchzeng

GradientMaster

Version License Platform

A IBDesignable UIView class with a gradient rendered and customizable in the storyboard (effect, direction,...) and support gradient animation.

Usage

IBDesignable

  • Set the class to GradientMasterView.
  • Customizable direction and effect you like.
  • Run it.

Animation

Set animation duration.

gradientView.animationDuration = 5.0

Start animation.

gradientView.startAnimation()

Stop animation.

gradientView.stopAnimation()

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

GradientMaster is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'GradientMaster'

Author

catchzeng, [email protected]

License

GradientMaster is available under the MIT license. See the LICENSE file for more info.