• 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: Delete action from variety of key presses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete action from variety of key presses


  • Subject: Re: Delete action from variety of key presses
  • From: Randall Meadows <email@hidden>
  • Date: Mon, 7 Jul 2008 18:09:50 -0600

On Jul 7, 2008, at 6:07 PM, Graham Cox wrote:

The view that is first responder needs to override -keyDown: and do this:

	[self interpretKeyEvents:[NSArray arrayWithObject:event]];

which hooks the event into the standard dispatcher for these methods.

(One thing that has long puzzled me about this though - why is the parameter an array of events when only one event is ever available?)

Only one is available *currently*...I'm thinking they are forward- looking and anticipating multi-touch events? :)
_______________________________________________


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: 
 >Delete action from variety of key presses (From: Nathan Vander Wilt <email@hidden>)
 >Re: Delete action from variety of key presses (From: Ken Thomases <email@hidden>)
 >Re: Delete action from variety of key presses (From: Nathan Vander Wilt <email@hidden>)
 >Re: Delete action from variety of key presses (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Delete action from variety of key presses
  • Next by Date: Re: Delete action from variety of key presses
  • Previous by thread: Re: Delete action from variety of key presses
  • Next by thread: Re: Delete action from variety of key presses
  • Index(es):
    • Date
    • Thread