Implemented -keyDown: in Yosemite NSViewController, but no class gets it
Implemented -keyDown: in Yosemite NSViewController, but no class gets it
- Subject: Implemented -keyDown: in Yosemite NSViewController, but no class gets it
- From: Jerry Krinock <email@hidden>
- Date: Tue, 26 Aug 2014 19:10:45 -0700
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?
Jerry
_______________________________________________
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