🏎️animations
SwiftUI ⟩ animations ⟩
To animate values, SwiftUI uses the Animatable protocol, which has only one requirement: the animatableData property with a type that conforms to the VectorArithmetic protocol.
Animation vs. transition:
animation: animate a view onscreen from one state to another.
transition: animate the insertion of a new view or the removal of an existing view.
TimerView - use Timer.publish()
Animatable (use animatableData to animate)
Vehicle - tap to animate.
MGE ⟩ animation - matched geometry effect.
SwiftUI Lab ⟩ Advanced SwiftUI Animations ⟩
QVIK ⟩ Basics of SwiftUI Animation #todo
Hacking with Swift ⟩ Customizing animations in SwiftUI
Big Mountain Studio ⟩ Trapezium - Part 3: Animating - animating Shape.
YouTube ⟩
iOS Academy ⟩ Twitter Launch Animation
Core Animation ⟩ Core Animation Data Types ⟩
CAMediaTimingFunctionName - timing functions, e.g. easeIn ...
SwiftUI Tutorials ⟩ Animating Views & Transitions ⟩
SwiftUI ⟩
Animation (struct)
Animatable (protocol) - describes how to animate a property of a view
View ⟩ Graphics and Rendering ⟩
.animation(_:) - applied to equatable view
.animation(_:value:) - applied to equatable value (non-equatable view)
Last updated
Was this helpful?