Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Hour 7. Understanding How Events Are Processed > Run Loops and Core Foundation

Run Loops and Core Foundation

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:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial