Follow along at https://www.hackingwithswift.com/100/swiftui/34.
This day covers Part Three of Project 6: Animation
in the 100 Days of SwiftUI Challenge. (Project 6 files can be found in the directory for Part One.)
In addition to recapping the material covered during the project's other days, Day 34 focuses on extending the project according to a set of challenges.
Go back to the
Guess the Flag
project and add some animation.
When you tap the correct flag, make it spin around 360 degrees on the Y axis.
- 🔗 Commit
Make the other two buttons fade out to 25% opacity.
- 🔗 Commit
If you tap on the wrong flag? Well, that’s down to you – get creative!
- 🔗 Commit