Learn Courses My Dashboard

Timers starting and stopping with a button

Is there a course on using timers? I need to start and stop a timer with a button.

Google’s your friend.
https://www.hackingwithswift.com/quick-start/swiftui/how-to-use-a-timer-with-swiftui

Here’s one that appears to be more in-dept.
https://www.hackingwithswift.com/forums/swiftui/pausing-countdown-with-button/4431

1 Like