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

Part II: User-Interface Foundations > Understanding How Events Are Processed

Hour 7. Understanding How Events Are Processed

What You’ll Learn in This Hour:

  • Understanding run loops

  • Understanding Core Foundation and toll-free bridging

  • Starting applications

  • Dispatching events

  • Understanding the UIResponder chain

  • Understanding UIControls

This hour, we’ll study how external events, such as the user touching the screen or a network packet arriving from the Internet, are handled and dispatched by your application. Misunderstanding the run loop is a common source of bugs among beginners. You’ll also learn how touch events are dispatched to the correct UIView to provide user interface elements the user can interact with.


  

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