Responding to the keyboard in an NSCell
Responding to the keyboard in an NSCell
- Subject: Responding to the keyboard in an NSCell
- From: Thomas Davie <email@hidden>
- Date: Thu, 25 Nov 2010 10:37:34 +0000
I'm trying to implement an NSCell which should be able to respond to the user pressing backspace to delete something, but I don't quite see how keyboard handling is meant to work. The - (BOOL)acceptsFirstResponder method seems to suggest that NSCell *should* be an NSResponder subclass. It isn't though, and it doesn't get sent things like -keyDown: if you return YES from acceptsFirstResponder.
I get the feeling that I'm missing something obvious here, but I could do with a prod in the right direction.
Thanks
Tom Davie_______________________________________________
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