On 27 Dec 2013, at 13:52, Trygve Inda <cocoa...@xericdesign.com> wrote:
> I have a document with a SourceView on the left side (like iTunes). Some > main menu commands pertain to actions in the Source View. This works fine if > the SourceView is the active view but my window has other views held in a > SplitView. > > 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? > > The alternative is I have to re-create "passthrough" methods in my Document > object that pass the real action through to the SourveView since the > Document object always is part of the Responder Chain. That’s what I usually do. Alternately, if I have a view controller for the source view, I use setNextResponder: to insert the view controller in the responder chain somewhere farther up. Cheers, -- Uli Kusterer “The Witnesses of TeachText are everywhere...” http://zathras.de _______________________________________________ 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