Help Understanding Proper Key Event Handling
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