Latest 0.1.0
Homepage https://github.com/catchzeng/GradientMaster
License MIT
Platforms ios 9.0
Authors

Version
License
Platform

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

Usage

IBDesignable

GradientMaster

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

Animation

GradientMaster GradientMaster

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.

Latest podspec

{
    "name": "GradientMaster",
    "version": "0.1.0",
    "swift_version": "4.2",
    "summary": "A simple and powerful gradient view.",
    "description": "A IBDesignable UIView class with a gradient rendered and customizable in the storyboard (effect, direction...) and support gradient animation.",
    "homepage": "https://github.com/catchzeng/GradientMaster",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "catchzeng": "[email protected]"
    },
    "source": {
        "git": "https://github.com/catchzeng/GradientMaster.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "GradientMaster/Classes/**/*"
}

Pin It on Pinterest

Share This