• 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
keyEvent characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

keyEvent characters


  • Subject: keyEvent characters
  • From: Angela Brett <email@hidden>
  • Date: Mon, 8 Oct 2001 22:02:11 +1300

Hi,

I have a question about key events. It says in the documentation:

- (NSString *)characters
Returns the characters associated with the receiving key-up or key-down event. These characters
are derived from a keyboard mapping that associates various key combinations with Unicode
characters. Raises an NSInternalInconsistencyException if sent to any other kind of event.

My question is, when would there be more than one character? I guess somehow several keys could be pressed or released at exactly the same time, but even then I would think they would generate separate events. Is it safe to always assume that there's only one character?
--
Angela Brett email@hidden http://acronyms.co.nz/
"Great minds think different."


  • Follow-Ups:
    • Re: keyEvent characters
      • From: rsharp <email@hidden>
    • Re: keyEvent characters
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Cocoa newbie frustration
  • Next by Date: Download file size
  • Previous by thread: Re: How to modify dialup number, login and password
  • Next by thread: Re: keyEvent characters
  • Index(es):
    • Date
    • Thread