Background Timer Swift Xcode Tutorial - Stop Watch App

Описание к видео Background Timer Swift Xcode Tutorial - Stop Watch App

How to build a start stop timer that continues counting every second even when the app is closed or put into the background using Swift & Xcode.

A great beginner programming project, we are building a stop watch that starts from zero and counts up. You can pause the timer or reset the timer and best of all the time is remembered when the app is closed and reopened.

We are going to use user defaults in order to store the start and stop times. Using these dates we can calculate the time based on the difference in milliseconds between the current time and the saved times.

Background Timer Source Code:
https://github.com/codeWithCal/Backgr...

⏱️TIMESTAMPS
00:00 - Background Timer - Intro
00:34 - Layout - Storyboard
01:30 - Outlets - Assistant Editor
01:56 - UserDefaults
03:32 - Start Stop Timer
07:24 - Reset Timer
07:40 - Update viewDidLoad
08:36 - Testing Project

#Swift #Xcode #ios

Комментарии

Информация по комментариям в разработке