Spring
A library to simplify iOS animations in Swift.
About this project
Updated for Swift 4.2 Requires Xcode 10 and Swift 4.2. Installation Drop in the Spring folder to your Xcode project (make sure to enable "Copy items if needed" and "Create groups"). Or via CocoaPods: Usage with Storyboard In Identity Inspector, connect the UIView to SpringView Class and set the animation properties in Attribute Inspector. Usage with Code layer.animation = "squeezeDown" layer.animate() Demo The Animations Chaining Animations layer.y = -50 animateToNext { layer.animation = "fall" layer.animateTo() } Functions animate() animateNext { ... } animateTo() animateToNext { ... } Animation shake pop morph squeeze wobble swing flipX flipY fall …
Technologies
Project health
GitHub
Reviews
Built by
Maintain MengTo/Spring? Claiming verifies admin access through your GitHub account and gives you control of this listing.