Looping with a delay in Swift

Coming from JavaScript and Python, creating a delay in Swift was odd. Here’s how to get your delays working.

Before I figured this out I was trying GCD (Grand Central Dispatch) as that’s what everybody suggests on most popular forums, but whenever I tried using GCD I couldn’t find a solution that worked for this scenario.
I’m sure a more experienced Swift programmer will tell me there’s a way, but I’m here to provide a working solution that fit my needs… And hopefully helps somebody else out too!