Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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.