Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
18 [[NSRunLoop currentRunLoop] run]; |
The design pattern that defines the structure of most nontrivial Objective-C programs is the run loop. A run loop, in the general case, waits for data from one or more event sources, and then executes code in response to them, giving an event driven programming model.