• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Responder chain query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Responder chain query


  • Subject: Responder chain query
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 21 Nov 2013 22:29:14 +0000

Looking at the action responder chain for a document based app (fig 1-10):
https://developer.apple.com/library/mac/documentation/cocoa/conceptual/eventoverview/EventArchitecture/EventArchitecture.html

This shows that the action responder chain extends past the window controller up to the document controller.

Sometimes I want to respond to an action and then forward it on up the responder chain like so:
[self.nextResponder tryToPerform:selector with:sender];

However, in this case the responder chain followed terminates at the window controller (as does the event message window controller).
This means that higher level items like NSDocument etc are never queued as part of the chain search.

Will I have to manually patch up the responder chain to include the higher level items when doing this sort of thing?

Jonathan












_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Responder chain query
      • From: email@hidden
  • Prev by Date: Re: [ANN]: XSViewController reboot
  • Next by Date: Re: NSArrayController, drag & drop, objectAtIndex?
  • Previous by thread: Re: NSSavePanel and 10.6.8
  • Next by thread: Re: Responder chain query
  • Index(es):
    • Date
    • Thread