Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. DKChainableAnimationKit

DKChainableAnimationKit

MITSwift2.0.1

A Swift DSL for creating easy, chainable animations on iOS.

GitHubGitHub
1.9k stars106 forks0 contributors

What is DKChainableAnimationKit?

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.

Target Audience

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.

Value Proposition

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.

Overview

A DSL to make animation easy on iOS with Swift.

Use Cases

Best For

  • Creating complex, multi-step animations with a fluent API
  • Adding spring or bounce effects to UIView animations
  • Animating views along custom Bezier paths
  • Sequencing animations with delays and completion handlers
  • Simplifying animation code in Swift-based iOS projects
  • Building interactive UI components with smooth transitions

Not Ideal For

  • Objective-C projects, as it's specifically designed for Swift and the README recommends JHChainableAnimations for Objective-C
  • Apps requiring advanced 3D animations or physics simulations beyond basic UIKit transformations
  • Cross-platform development targeting iOS, macOS, or other operating systems, since it's iOS-only with OS X support listed as a To Do item
  • Projects needing long-term maintenance or the latest Swift features, given the outdated To Do list mentioning Swift 2.0

Pros & Cons

Pros

Fluent Chainable Syntax

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).

Built-in Animation Effects

Supports effects like spring and bounce that can be directly applied to chains, simplifying the addition of polish without custom easing curves.

Bezier Path Animation

Enables animating views along custom UIBezierPaths for complex motion, with dedicated methods like bezierPathForAnimation and moveOnPath shown in the README.

Easy Sequencing and Delays

Provides thenAfter and wait methods to chain animations with precise timing, making multi-step sequences straightforward to implement.

Cons

Limited Platform Support

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.

Outdated Development Status

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.

Restricted Effect Application

Animation effects like spring and bounce cancel each other if multiple are chained, as noted in the README, limiting flexibility for combined effects.

Frequently Asked Questions

Quick Stats

Stars1,876
Forks106
Contributors0
Open Issues10
Last commit6 years ago
CreatedSince 2015

Tags

#ios#ui-animation#animation#fluent-interface#dsl#animation-effects#ui-kit#chainable-animations#mobile-development#swift#chainable-api

Built With

S
Swift

Included in

iOS51.7k
Auto-fetched 15 hours ago

Related Projects

LottieLottie

An iOS library to natively render After Effects vector animations

Stars26,802
Forks3,833
Last commit16 days ago
ViewAnimatorViewAnimator

ViewAnimator brings your UI to life with just one line

Stars7,311
Forks486
Last commit2 years ago
AnimatedCollectionViewLayoutAnimatedCollectionViewLayout

A UICollectionViewLayout subclass that adds custom transitions/animations to the UICollectionView without effecting your existing code.

Stars4,854
Forks346
Last commit5 years ago
AdvanceAdvance

Physics-based animations for iOS, tvOS, and macOS.

Stars4,466
Forks204
Last commit4 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub