Timers are a great way to run code on a repeating basis, and iOS has the Timer class to handle it for you. First, create a property of the type Timer!.
![How to make an action repeat using Timer](https://devshive.tech/media/uploads/contents/defaults/default-ios.png)
Timers are a great way to run code on a repeating basis, and iOS has the Timer class to handle it for you. First, create a property of the type Timer!.