An animation library for iOS, tvOS, and macOS that uses physics-based animations (including springs) to power interactions that move and respond realistically. There are several ways to integrate Advance into your project. Advance animations are applied on every frame (using CADisplayLink on iOS/tvOS, and CVDisplayLink on macOS), allowing for fine-grained control at any time. Animator allows for more flexibility in the types of animation that can be performed, but gives up some convenience in order to do so. Specifically, animators allow for any type of animation or simulation to be performed for a single value. Simulated animations use a simulation function to power a physics-based transition. Simulation functions are types conforming to the SimulationFunction protocol. Values conforming to the VectorConvertible protocol can be animated by Advance. Conforming types can be converted to and from a Vector implementation.
Features
- Requires iOS 10+, tvOS 10+, or macOS 10.12+
- Requires Swift 5.0 (Xcode 10.2 or higher)
- Spring instances animate changes to a value over time, using spring physics
- Advance animations are applied on every frame
- Integrate Advance to your project manually or through Carthage
- Animators support two fundamentally different types of animations, timed and simulated