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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to