Getting to Know the Responder Chain
summary
Explains how Cocoa’s responder chain routes events from the first responder up through views, view controllers and the app delegate, how to insert a custom responder by capturing view.nextResponder and reassigning nextResponder, and how NSApplication/UIApplication sendAction:to:from: with nil target walks the chain to decouple callers. Shows practical uses: menu Paste routing, modal dismissal without delegates, centralizing logout/login logic in a parent view controller, and a noResponderFor: debug hook to find missing responders.
AI-written summary · about
chapters (10)
- 0:00Intro
- 0:21Where does it go?
- 0:37Enter, the Responder Chain!
- 2:07Custom Objects
- 2:33What is it used for?
- 3:06An example
- 5:01Responder Chain Tips
- 6:53Another example
- 7:40Last example
- 8:20More Information








