Sample project Learn Swift LA and Swift Coders LA Meetups on 6-Jan-2020.
Animations swiftUI.playground
A series of playgrounds exploring different aspects of SwiftUI animations:
UIKit
a playground showing an imperative animation in UIKitImplicit
a playground showing an implicit animation that occurs when a view changes for any reasonTiming Curves
andSprings
: visualizations of the various timing curves in SwiftUIExplict
&Explict2
: demonstrations of explicit animations to independently animate different aspects of a viewTransition
: a playground showing the use ofAnyTransition
to animate views in and out of the view hierarchyMatchedGeometryEffect
: a playground showing how to perform a sematic move between different nodes in the view hierarchy by using amatchedGeometryEffect
AnimatableModifier
: a custom sine wave and color interpolatingAnimatableModifier
Reversi
An implementation of Reversi showing some of the animation techniques from the above playgrounds.