In Interface Builder 3.2.5, when you set a key equivalent for a menu item using a character that is typed using a shift key (e.g. the question mark), the key equivalent is set to the unshifted character on the same key with the shift modifier as part of the key equiv. For example, trying to set the key equiv. to Command-Question Mark sets it as Command-Shift-Forward Slash.
The various system U.S. and Dvorak layouts, the Unicode Hex Input, British and Canadian English layouts and my custom Dvorak layout all exhibit this behavior.
How can an equiv be easily set to a character requiring use of a shift key without including the shift modifier as part of the equiv?
It could be done by switching to a keyboard layout where you can type the desired character without using shift. It could also be done by editing the nib file containing the menu. However, neither of these has the level of ease I desire. It could be done programmatically, but (for the purposes of this question) I'm only interested in how it could be done in IB.
In IB 3 you the button should allow you to click the arrows to pop up a menu after you type something that is an alternate.
In Xcode 4 it is more apparent as you type in ⇧⌘/ it has a drop down Alternates
that lets you pick ⌘?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With