Custom SwiftUI Countdown Timer

Опубликовано: 02 Ноябрь 2024
на канале: Stewart Lynch
2,120
140

In this video, I would like to take you through the process of creating a Custom timer view. We will focus on design and reusability so that you will be able to add to any one of your projects in the future.

If you want to support my work, you can buy me a coffee :) 
https://ko-fi.com/stewartlynch 

******* Download my StewartLynch YouTube Channel Application - Free ********** 
https://stewartlynch.gumroad.com/l/obsjz T

Table of Contents: 
0:00  Introduction
1:55  TimerObject
9:21 TimerView
13:39 Progress Circles
19:01 ReadSize Modifier
23:19 Button Modifiers
26:21 Adding to Views

 Starter Project Files: 
None
Completed Project: 
https://github.com/StewartLynch/Custo...

ReadSize Gist
https://gist.github.com/StewartLynch/...

References mentioned in video: 
GeometryReader
   • SwiftUI GeometryReader  
SwiftUI PreferenceKeys
   • SwiftUI PreferenceKeys  

Recommended Resources: 

RocketSim - Build Apps Faster 
   https://gumroad.com/a/122988499/ftvbh 

BigMountain Studio Books 
SwiftData Mastery in SwiftUI 
   https://www.bigmountainstudio.com/swi...
SwiftUI Views Mastery 
   https://www.bigmountainstudio.com/vie...
SwiftUI 5 Book Bundle 
   https://www.bigmountainstudio.com/boo...
Combine Mastery in SwiftUI 
   https://www.bigmountainstudio.com/com...
Core Data Mastery in SwiftUI 
   https://www.bigmountainstudio.com/cor...
SwiftUI Animations Mastery 
   https://www.bigmountainstudio.com/ani...

Other References: 
Stewart Lynch's YouTube Channel: 
      / @stewartlynch   
Stewart Lynch on Mastodon: 
   https://iosdev.space/@StewartLynch 
Stewart Lynch On Threads: 
   @StewartLynch 
Stewart Lynch on X: 
   https://x.com/StewartLynch 
Stewart Lynch on LinkedIn 
     / stewartlynch