On Aug 27, 2014, at 8:56 AM, Michael Babin <mba...@orderndev.com> wrote:

> On Aug 26, 2014, at 9:10 PM, Jerry Krinock <je...@ieee.org> wrote:
> 
>> I was so excited after watching WWDC Session 212 "Storyboards and 
>> Controllers on OS X” that I rewrote a little app I was working on to require 
>> Yosemite.  All of the new view controller and tab view controller magic 
>> works as advertised, except that my view controller subclass, supposedly now 
>> in the responder chain, is not getting -keyDown:.
>> 
>> • Apparently, no one is getting -keyDown:, because when I type a key I get a 
>> system alert sound.
>> • Several lines of code up, this same class gets -mouseDown: OK.
>> • This view controller’s view is in a tab view.  (Although I don’t think 
>> it’s supposed to, the associated NSTabViewController is not getting 
>> -keyDown: either.)
>> 
>> Any guesses what might be going on?
> 
> Is the window which contains your view (and view controller) the key window?

And is the view the first responder?  Does it return YES from 
-acceptsFirstResponder?

Regards,
Ken


_______________________________________________

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

Reply via email to