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

moveBackward, insertText, etc (from interpretKeyEvents)


  • Subject: moveBackward, insertText, etc (from interpretKeyEvents)
  • From: email@hidden
  • Date: Wed, 7 Dec 2005 12:40:04 -0800

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:

This email sent to email@hidden
  • Follow-Ups:
    • Re: moveBackward, insertText, etc (from interpretKeyEvents)
      • From: Wain <email@hidden>
  • Prev by Date: Re: NSTableHeaderCell Woes...
  • Next by Date: Re: moveBackward, insertText, etc (from interpretKeyEvents)
  • Previous by thread: More Mighty Mouse
  • Next by thread: Re: moveBackward, insertText, etc (from interpretKeyEvents)
  • Index(es):
    • Date
    • Thread