Skip to content

ClearCut3000/Background-Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Background-Timer

Background timer is a start/stop timer that keeps counting even when the app is closed or put into the background.

After pressing the start button, the countdown starts using the scheduledTimer() function. If the user collapses the application without pressing the stop button, the timer, saving the current time value in UserDefaults, after restoring the application will calculate the difference in the time interval, update the label and continue counting.

Screenshot001 Screenshot002 Screenshot003 Screenshot004

Releases

No releases published

Packages

No packages published

Languages