Questions on setting up the first responder in Xcode

I am just reading the Apple Xcode developer doc (

We know that the difference between the two event-handling mechanisms of the action-chain and the responder-chain is whether the target is set or not set (nil). But in the "To add new action messages to the list of first supported responders" of this document, step 5 reads "Select the class in which the method will be defined from the pop-up list in the Type column. Does this mean that the target will be set, so the action message is sent directly to the type specified in xcode, instead of going through the responder chain. In my opinion, this step is not necessary for programming the responder chain. Am I right?



source to share

All Articles