The menu item’s unmodified key equivalent.
- macOS 10.0+
If you want to specify the Backspace key as the key equivalent for a menu item, use a single character string with
NSBackspace (defined in
0x08) and for the Forward Delete key, use
NSDelete (defined in
0x7F). Note that these are not the same characters you get from an
NSEvent key-down event when pressing those keys.