AnimatedGradientView is a UIView subclass which makes it simple to add animated gradients to your iOS app. It is written purely in Swift. Further documentation available as part of this blog post.
Features:
- Easily create animated or static gradients.
- Configurable gradient direction.
- Use hex values, RGB values or names to specify colors (including color names specified in asset catalogs on iOS 11 or higher).
- Supports animating between gradients with a varying number of colors.
- Supports axial, radial and on iOS 12, conic gradients.
- Auto-animate or animate manually using the startAnimating and stopAnimating functions.
- Loop animations with the autoRepeat property.

Leave a Reply
You must be logged in to post a comment.