finds.dev

willowtreeapps/spruce-ios

Swift library for choreographing animations on the screen.

View on GitHub

★ 3,421SwiftMITupdated Mar 2024

// the take

Spruce is a Swift/UIKit library for sequencing UIView animations across a screen's subviews, separating what changes (an Animation) from when it fires (a SortFunction that assigns per-view delays). It's for iOS developers who want designer-driven, multi-view entrance animations (staggered, radial, linear, etc.) without hand-rolling delay math.

Clean separation of concerns: ChangeFunction/Animation defines the visual change, SortFunction independently decides timing offsets, so you can swap choreography (linear, radial, random, cornered) without touching animation code. Ships 8 stock SortFunctions and 6 stock animations covering most common entrance patterns out of the box. Both Animation and SortFunction are protocols, so custom behaviors plug in without forking the library. Has CI (CircleCI) and coverage tracking (Coveralls) wired up, plus an example app for visually comparing sort functions before picking one.

No Swift Package Manager support — only CocoaPods and Carthage, both in decline, which is a real friction point for anyone on current Xcode tooling. UIKit-only; there's no SwiftUI path, so it offers nothing to apps that have moved off UIViewController-based screens. Completion handling is closure-based with no async/await API, so it doesn't fit modern Swift concurrency idioms. Last push was March 2024 and the README still lists Objective-C wrappers as 'coming soon,' a promise that was never delivered — the project reads as feature-frozen rather than actively evolving.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
3,421
Forks
197
Language
Swift
License
MIT
Last commit
18 Mar 2024

// nearby

If spruce-ios isn't quite it.

All repos →