• 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: Help with text input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with text input


  • Subject: Re: Help with text input
  • From: Shawn Erickson <email@hidden>
  • Date: Fri, 30 Apr 2010 08:14:45 -0700

On Fri, Apr 30, 2010 at 7:12 AM, Bill Appleton
<email@hidden> wrote:
> hi all,
>
> thanks for the help
>
> the characters message gives me the unicode output, that is working fine
>
> but i am unsure how to detect raw keys, like arrow keys, function keys, etc

Take a look in NSEvent.h for various helpful constants or near the
bottom in the API docs [1]. For example NSUpArrowFunctionKey
(matchable against what you get back from -[NSEvent characters]).

-Shawn

[1] http://developer.apple.com/mac/library/documentation/cocoa/reference/ApplicationKit/Classes/NSEvent_Class/Reference/Reference.html#//apple_ref/doc/uid/20000016-17420
_______________________________________________

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

  • Follow-Ups:
    • Re: Help with text input
      • From: Bill Appleton <email@hidden>
References: 
 >Help with text input (From: Bill Appleton <email@hidden>)
 >Re: Help with text input (From: Jens Alfke <email@hidden>)
 >Re: Help with text input (From: Charles Srstka <email@hidden>)
 >Re: Help with text input (From: Douglas Davidson <email@hidden>)
 >Re: Help with text input (From: Bill Appleton <email@hidden>)

  • Prev by Date: Re: How to get tapped text from UITextView
  • Next by Date: Re: Help with threads and queues
  • Previous by thread: Re: Help with text input
  • Next by thread: Re: Help with text input
  • Index(es):
    • Date
    • Thread