A UIView subclass for creating animated and static gradients in iOS apps with simple configuration.
AnimatedGradientView is a Swift library for iOS that provides a UIView subclass to easily add animated or static gradients to apps. It solves the problem of creating complex gradient animations with minimal code, offering support for multiple gradient types, color formats, and animation controls.
iOS developers looking to enhance their app's visual appeal with gradient backgrounds or animations, particularly those working on UI-heavy applications like media players, onboarding screens, or dynamic interfaces.
Developers choose AnimatedGradientView for its simplicity and flexibility—it wraps complex Core Animation logic into an intuitive API, supports all major gradient types, and works seamlessly with iOS's color systems, saving development time compared to manual implementations.
🎞 Powerful gradient animations made simple for iOS.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports axial, radial, and conic gradients (iOS 12+), offering diverse visual effects as shown in the README's examples and images.
Provides auto-animate or manual control with startAnimating/stopAnimating functions and looping via autoRepeat property, simplifying complex animations.
Allows colors using hex values, RGB, or named colors, including asset catalog names on iOS 11+, making integration seamless.
As a UIView subclass, it enables quick setup with minimal code, as demonstrated in the quickstart snippet for adding animated gradients.
Conic gradients are only available from iOS 12 onwards, restricting advanced features for apps supporting older versions.
Primarily designed for UIKit, requiring extra work like UIViewRepresentable for SwiftUI projects, which isn't covered in the README.
It only handles gradients, so developers needing broader UI components must integrate additional libraries, increasing complexity.