• 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
Help Understanding Proper Key Event Handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help Understanding Proper Key Event Handling


  • Subject: Help Understanding Proper Key Event Handling
  • From: Francisco Tolmasky <email@hidden>
  • Date: Wed, 20 Feb 2008 20:26:53 -0800

I'm currently writing an app with several custom views that respond to key events (such as
arrow keys moving objects, etc). I've looked over the docs at Apple regarding the flow of key
events, but I was wondering if anyone had some "best practices" advice for me. If I understand
correctly, performKeyEquivalent: will get sent to my custom view regardless of whether it is first
responder or not, so should I manually be checking within performKeyEquivalent my first
responder status? Also, will having lots of views potentially slow down the interpretation of
key events?


Thanks,

Francisco Tolmasky
_______________________________________________

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: Help Understanding Proper Key Event Handling
      • From: Seth Willits <email@hidden>
  • Prev by Date: Matching a date field in a predicate
  • Next by Date: NSTableView - Open Panel on Double Click
  • Previous by thread: Re: Matching a date field in a predicate
  • Next by thread: Re: Help Understanding Proper Key Event Handling
  • Index(es):
    • Date
    • Thread