iOS time-passing mechanism précis-writers

Source: Internet
Author: User

Event Delivery Order: Custom View-> UIview-rootviewcontroller-UIWindow-->uiapplication-->appdelegate-->nil

Note:

Distributes events to distribute current touch events to the next responder of the current object
If the current object handles the current event, and you do not want the event to continue to pass in the delivery chain, you can comment the following line of code
If the event is not processed in the entire event pass chain, the event is eventually passed to the Appdelegate object, the event is distributed to its next responder by the Appdelegte object, and the next responder of the Appdelegate object is nil, so the event is discarded here
[Super Touchesbegan:touches withevent:event];//assumes that this is a touch event

iOS time-passing mechanism précis-writers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.