• 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
Re: NSDocument-oriented app and -keydown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument-oriented app and -keydown


  • Subject: Re: NSDocument-oriented app and -keydown
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 29 Sep 2011 08:01:37 -0700

On Thu, Sep 29, 2011 at 7:42 AM, Nick <email@hidden> wrote:
> how can I get a keydown (and keyup) events in an NSDocument-oriented
> application for a particular document's window?
> I'd like to get a control activated/deactivated on the window, depending on
> whether the specific key is pressed or released.

Why does the document need key up and down events? These should almost
always be handled in an NSView subclass.

--Kyle Sluder
_______________________________________________

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

References: 
 >NSDocument-oriented app and -keydown (From: Nick <email@hidden>)

  • Prev by Date: NSDocument-oriented app and -keydown
  • Next by Date: Re: Receiving Crash Reports
  • Previous by thread: NSDocument-oriented app and -keydown
  • Next by thread: Re: NSDocument-oriented app and -keydown
  • Index(es):
    • Date
    • Thread