Hi,
This is a question for (Cocoa) mac app developers, and gurus.
I've started dabbling in Cocoa, and after building my first application, I'v run into a keyboard key binding issue with OS X:
If a key is not assigned to a menu item in MainMenu.nib, then if it is pressed while the app is running, the computer will beep an error sound (eg. Enter/Return, and 1,2,3,4,etc.).
How do I assign a keyboard key for use in my app, without the need to add it to a menu item (so that OS X doesn't beep, when it is pressed)? Can this be done in Interface Builder, or does it have to be written in Cocoa?
Thanks,
This is a question for (Cocoa) mac app developers, and gurus.
I've started dabbling in Cocoa, and after building my first application, I'v run into a keyboard key binding issue with OS X:
If a key is not assigned to a menu item in MainMenu.nib, then if it is pressed while the app is running, the computer will beep an error sound (eg. Enter/Return, and 1,2,3,4,etc.).
How do I assign a keyboard key for use in my app, without the need to add it to a menu item (so that OS X doesn't beep, when it is pressed)? Can this be done in Interface Builder, or does it have to be written in Cocoa?
Thanks,