Re: Keep sibling view in Responder Chain
Re: Keep sibling view in Responder Chain
- Subject: Re: Keep sibling view in Responder Chain
- From: Appa Rao Mulpuri <email@hidden>
- Date: Fri, 27 Dec 2013 13:06:26 +0000
- Thread-topic: Keep sibling view in Responder Chain
Hi
Use SetNextResponder method to insert your view into the responder chain.
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Even
tOverview/EventArchitecture/EventArchitecture.html will give the more
information.
Regards,
Apparao Mulpuri
On 12/27/13 6:22 PM, "Trygve Inda" <email@hidden> 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.
>
>Thoughts?
>
>
>
>_______________________________________________
>
>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:
>om
>
>This email sent to email@hidden
This email and any attachments are confidential, and may be legally privileged and protected by copyright. If you are not the intended recipient dissemination or copying of this email is prohibited. If you have received this in error, please notify the sender by replying by email and then delete the email completely from your system. Any views or opinions are solely those of the sender. This communication is not intended to form a binding contract unless expressly indicated to the contrary and properly authorised. Any actions taken on the basis of this email are at the recipient's own risk.
_______________________________________________
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