Hour 7. Understanding How Events Are Processed

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.

Run Loops and Core Foundation

Run loops are the backbone of any Cocoa application that responds ...

Get Sams Teach Yourself Cocoa Touch™ Programming in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.