SyntaxFix
Write A Post
Hire A Developer
Questions
I tried to do in a NSObject Class and this worked for me:
DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(300)) { print("Bang!") }