We will create buttons that executes its action in a determined amount of time. We will leverage Shape and SwiftUI Animation to avoid the use of UIView and DispatchQueue to animate the Timer.
Chapters:
0:00 Adding Timer Animation to a Button
1:45 Creating Loading Shape
15:30 Making a Shape Animatable
17:05 Animating Time Passing With a Shape
Source code: https://github.com/codingWithTom/Anim...
SwiftUI Showcase playlist - • SwiftUI - Showcase
Intro song: All That from Bensound.com
Outro song: Happiness from Bensound.com