100 Days of SwiftUI
2026-08-11
Project 17, part 4
Continuing with Flashzilla
Coloring views as we swipe
- Swipe right → correct
- Swipe left → guessed wrong
- take care to consider differentiation without color
Counting down with a Timer
“Add a little bit of pressure to get the user to speed up”
I really don’t like timed games
Detect when the app is moved to the background so the timer doesn’t cheat you out of seconds
Ending the app with allowsHitTesting()
Use to disable swiping cards when the timer runs out