A Swift DSL for creating easy, chainable animations on iOS.
DKChainableAnimationKit is a Swift library that provides a domain-specific language (DSL) for creating animations on iOS. It simplifies the process of building complex, multi-step animations by allowing developers to chain properties and effects in a fluent, readable syntax. The library addresses the verbosity of traditional UIKit animation APIs, making it easier to create smooth, interactive UI animations.
iOS developers working with Swift who need to create complex or chained animations in their apps, particularly those looking for a more expressive and less verbose alternative to Core Animation or standard UIView animations.
Developers choose DKChainableAnimationKit for its clean, chainable syntax that eliminates boilerplate code and parentheses, its support for animation effects like spring and bounce, and its ability to easily sequence animations with delays and completions—all while being lightweight and focused on iOS.
A DSL to make animation easy on iOS with Swift.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Eliminates boilerplate code by allowing animations like moveX and scale to be chained in a single line without extra parentheses, as demonstrated with examples such as view.animation.makeScale(2.0).spring.animate(1.0).
Supports effects like spring and bounce that can be directly applied to chains, simplifying the addition of polish without custom easing curves.
Enables animating views along custom UIBezierPaths for complex motion, with dedicated methods like bezierPathForAnimation and moveOnPath shown in the README.
Provides thenAfter and wait methods to chain animations with precise timing, making multi-step sequences straightforward to implement.
Only targets iOS, with OS X support explicitly listed as unfinished in the To Do section, and no mention of compatibility with SwiftUI or newer Apple frameworks.
The README's To Do list includes supporting Swift 2.0, indicating the library may not be updated for current Swift versions, risking deprecation and compatibility issues.
Animation effects like spring and bounce cancel each other if multiple are chained, as noted in the README, limiting flexibility for combined effects.