GradientAnimator
GradientAnimator helps to fill your view with vibrant gradient theme colours and animates them to give a stunning view to your application design.
Installation
Cocoapods installation is available " pod 'GradientAnimator', '~> 1.0' "
Compatibility
- iOS 11.0+
- Swift 4.2
Usage
-
After installing the library import GradientAnimator to your controller
-
Gradient Animator has predefined Themes "GradientThemes" you can use our themes
- You can also set custom UIColor combination of your choice as per order using the following initializer
- GradientPoints - Gradient points are used to know from where yo wish to start your animation and to where to end and begins the next transition start point states from where to begin and endpoint states where to end
- After Initializing the gradient view we need to insert the gradient view at the index zero of subview and after that call the startAnimate() method to begin your animation
- For your convenience we wrote an extension of UIView so that you could simply call it on any view you would like the gradient animator to be there use the above code