- dispatch_after - to run code with delay
To add snippet to xcode:
- Copy - Paste into xcode file, open Utilities (right detaile window) - in the bottom select {}. After that select and drag-and-drop Copy-Pasted code to that division, and configure name and code fast pseudonym.
- Set in Edit screen of snippet Completion Scopes - All