Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Run loops are the backbone of any Cocoa application that responds to external events. Graphical user interface (GUI) applications are one such category, although there are other examples such as web servers.
A run loop is an infinite loop that waits for events to occur and dispatches them: