interactive-animations icon indicating copy to clipboard operation
interactive-animations copied to clipboard

A simple popup menu built in Swift with UIViewPropertyAnimator.

interactive-animations

This project is an example of using UIViewPropertyAnimator to create interactive animations. This was originally created as a demo to accompany a talk I gave at an Austin iOS developer meetup in September, 2017.

Animation Demo Gif

About

The repository's commits are structured to show the various phases of building the animation. In the original talk, I would jump between commits to gradually introduce concepts.

I wrote a tutorial blog post on how to implement this animation step-by-step. It's available here: Building Better iOS App Animations

The animation is inspired by a WWDC 2017 presentation titled "Advanced Animations with UIKit". https://developer.apple.com/videos/play/wwdc2017/230/

Instructions

This project was built with Xcode 9 Beta 6. To run, download/clone the repo and open InteractiveAnimations.xcodeproj in Xcode 9.

License

MIT © 2017 Nathan Gitter. See LICENSE for full details.