• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Implemented -keyDown: in Yosemite NSViewController, but no class gets it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Implemented -keyDown: in Yosemite NSViewController, but no class gets it
      • From: Michael Babin <email@hidden>
  • Prev by Date: Re: WebView shorting me on print jobs.
  • Next by Date: Re: Auto Layout with purple
  • Previous by thread: Re: Game Center Invite
  • Next by thread: Re: Implemented -keyDown: in Yosemite NSViewController, but no class gets it
  • Index(es):
    • Date
    • Thread