There are methods performSelectorInBackground: and performSelector: afterDelay: in NSObject. How to combine them in one line of code?
Maybe somehow with NSTimer?
There are methods performSelectorInBackground: and performSelector: afterDelay: in NSObject . How to combine them
Share
Have you considered using blocks for that?
Also, if it seems like too much writing, there’s already a snippet for it, start typing “dispatch_after” and you’ll see it.