Re: moveBackward, insertText, etc (from interpretKeyEvents)
Re: moveBackward, insertText, etc (from interpretKeyEvents)
- Subject: Re: moveBackward, insertText, etc (from interpretKeyEvents)
- From: Wain <email@hidden>
- Date: Wed, 7 Dec 2005 20:50:52 +0000
Hi, I'll answer the simplest question: NSString *NSStringFromSelector
(SEL aSelector).
Wain
On 7 Dec 2005, at 20:40, email@hidden wrote:
I've got a custom view and I'm trying to respond to the forward,
back, up, down, etc. keys.
I can correctly accept and resign firstResponder. And I've
implemented insertTab and insertBackTab - they both work. However,
when I implement insertText, moveBackward,
moveBackwardAndModifySelection, and others, all I get is a beep -
they are never called.
Is there something I'm missing when it comes to these NSResponder
methods? I can try to override doCommandBySelector to see what's
getting called, but how do I view or NSLog the SEL that gets passed?
Thanks,
Blake
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40yahoo.co.uk
This email sent to email@hidden
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
http://uk.security.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden