Re: Implemented -keyDown: in Yosemite NSViewController
Re: Implemented -keyDown: in Yosemite NSViewController
- Subject: Re: Implemented -keyDown: in Yosemite NSViewController
- From: Jerry Krinock <email@hidden>
- Date: Wed, 27 Aug 2014 09:10:59 -0700
On 2014 Aug 27, at 06:56, Michael Babin <email@hidden> wrote:
> Is the window which contains your view (and view controller) the key window?
Thank you, Michael. I think so. My app’s title is showing in the menu bar; and this is its only window. It is frontmost in the z-direction, and the three buttons in the title bar are vibrant red, vibrant yellow and vibrant green.
This window does not have any editable text fields in it. I don’t think that should matter.
In the app target’s Build Settings, Base SDK resolves to “Latest OS X (OS X 10.10)".
Further experiments indicate that the *window* is receiving the -keyDown: message. (So I’ve changed the subject of this thread.) So the chain is broken somewhere between the window and the tab view’s view controller.
_______________________________________________
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