SwiftUI Animatable Modifiers
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 a custom waveform rendering 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.
If you like this video there are many more like it over at https://nsscreencast.com.
Source code can be found on the episode page here:
https://nsscreencast.com/episodes/448-swiftui-animatable-modifiers
Видео SwiftUI Animatable Modifiers канала NSScreencast
If you like this video there are many more like it over at https://nsscreencast.com.
Source code can be found on the episode page here:
https://nsscreencast.com/episodes/448-swiftui-animatable-modifiers
Видео SwiftUI Animatable Modifiers канала NSScreencast
Комментарии отсутствуют
Информация о видео
17 июля 2020 г. 1:13:11
00:16:58
Другие видео канала