Creating a SplitAnimation - WWDC21 SwiftUI Part 9

Опубликовано: 30 Ноябрь 2021
на канале: Coding With Tom
106
3

Today we will create an animation for a View that makes it look like it splits into four pieces when tapped. The pieces will animate apart and then converge to execute a closure.

Chapters:
0:00 Creating Split Animation
0:30 Creating SplitModifier
5:47 Creating a SplitEffect
10:30 Clipping the View into Four Pieces

Source code: https://github.com/codingWithTom/WWDC...

WWDC 2021 playlist:    • WWDC 2021  

Intro song: All That from Bensound.com
Outro song: Happiness from Bensound.com