Do Cocoa applications have a main loop?
On Linux under X11 and using GTK+ you have something called "Main Loop". Once you start the main loop you have a timer that runs in the main thread of the application. You can set that timer to a callback function and you have a very nice application-wide timer. This is sample code for that: GMainLoop *loop; if(!loop_running) { ...