• 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
Re: moveBackward, insertText, etc (from interpretKeyEvents)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: moveBackward, insertText, etc (from interpretKeyEvents)
      • From: email@hidden
References: 
 >moveBackward, insertText, etc (from interpretKeyEvents) (From: email@hidden)

  • Prev by Date: moveBackward, insertText, etc (from interpretKeyEvents)
  • Next by Date: Re: moveBackward, insertText, etc (from interpretKeyEvents)
  • Previous by thread: moveBackward, insertText, etc (from interpretKeyEvents)
  • Next by thread: Re: moveBackward, insertText, etc (from interpretKeyEvents)
  • Index(es):
    • Date
    • Thread