Animatable Modifiers

Episode #448 | 17 minutes | published on July 16, 2020 | Uses Swift-5.3, iOS-14.0-beta2, Xcode-12-beta2
Subscribers Only
Animating in SwiftUI can seem like magic, until you want to animate something custom. In this episode we'll add animation to our frequency, amplitude, and phase parameters for our waveform by leveraging SwiftUI's AnimatableModifier protocol. We'll see how to implement the animatableData property with one, two, and ultimately all three parameters. We'll cover implicit and explicit animations, as well as the behavior when attempting to mix animations.

Nothing yet...

blog comments powered by Disqus