On Dec 27, 2013, at 4:52 AM, Trygve Inda <cocoa...@xericdesign.com> wrote: > > If a sibling of the SourceView is active, the SourceView is not in the > responder chain and thus my menu commands are greyed out. > > How can I keep a sibling view in the responder chain?
This is OS X, right? Implement -supplementalTargetForAction:sender:on a common ancestor of both your views. (The window controller would be a good place.) This method should check the selector and return the SourceView if it matches one of the ones you need to always be directed over there. On iOS, I haven’t tried this myself, but you should be able to do the moral equivalent by overriding -targetForAction:withSender: on your view controller. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com