Implementing A Simple Timer Wrapper In Swift

Photo by Aron Visuals on Unsplash

It becomes quite often necessary when implementing apps to create tasks that are either being repeated at a constant interval, or they are executed after a certain period of time. For instance, we might want to display a message for a few seconds and then make it disappear…



An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store