| Start |
|---|
| Creating a Timer This will create a timer to call the Setting the |
Invalidating a timer This will stop the timer from firing. Must be called from the thread the timer was created in, see Apple's notes (opens new window): You must send this message from the thread on which the timer was installed. If you send this message from another thread, the input source associated with the timer may not be removed from its run loop, which could prevent the thread from exiting properly. Setting |
Manually firing a timer Calling the In a non-repeating timer, this will automatically invalidate the timer. That is, calling In a repeating timer, this will simply invoke the action without interrupting the usual schedule. |
| Storing information in the Timer When creating a timer, you can set the By taking a timer as a parameter in said function, you can access the |
Read Article
https://develop.horje.com/learn/1434/reference