• 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: NSMenuItem setKeyEquivalentModifierMask not working as expected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMenuItem setKeyEquivalentModifierMask not working as expected


  • Subject: Re: NSMenuItem setKeyEquivalentModifierMask not working as expected
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 31 Jan 2005 12:51:45 +0100

At 11:32 Uhr +0100 31.01.2005, David Kocher wrote:
On 31. Jan 2005, at 07:44, M. Uli Kusterer wrote:

At 14:53 Uhr +0100 30.01.2005, David Kocher wrote:
That solves the problem. Many thanks!

Btw: Sometimes I am wondering about the API design; i.e. it would make more sense if it would be
setKeyEquivalent(char)
instead of
setKeyEquivalent(String)

Nope. That would work for languages that only use the basic Latin Alphabet, but Unicode does decomposed character sequences and other things, which *may* turn a character with an accent into several. So, if I typed Command-Ü (U with diaresis) on my German keyboard, what is fed in might actually be "U¨" which is two characters. There are other languages for which it's even more complicated.

But one can specify unicode characters with '\uu00FC', no? Probably this is not the same in obj-c.

That's not important in this case, as it still would only be one character, while the above examples would be *two* Unicode characters.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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
References: 
 >NSMenuItem setKeyEquivalentModifierMask not working as expected (From: David Kocher <email@hidden>)
 >Re: NSMenuItem setKeyEquivalentModifierMask not working as expected (From: j o a r <email@hidden>)
 >Re: NSMenuItem setKeyEquivalentModifierMask not working as expected (From: David Kocher <email@hidden>)
 >Re: NSMenuItem setKeyEquivalentModifierMask not working as expected (From: "M. Uli Kusterer" <email@hidden>)
 >Re: NSMenuItem setKeyEquivalentModifierMask not working as expected (From: David Kocher <email@hidden>)

  • Prev by Date: Re: NSMenuItem setKeyEquivalentModifierMask not working as expected
  • Next by Date: Re: newbie unicode problem
  • Previous by thread: Re: NSMenuItem setKeyEquivalentModifierMask not working as expected
  • Next by thread: Getting <null> when I add: via NSArrayController
  • Index(es):
    • Date
    • Thread