问题
I want to know how to add keyboard shortcuts to buttons for example to press key "R" for pressing button "Reading" and key "M" for pressing button "meaning" where "Reading" and "meaning" are buttons in window.nib file
回答1:
Select the button in the NIB. Select the Attributes inspector. Put focus on the "Key equivalent" field. Type the desired keystroke.

来源:https://stackoverflow.com/questions/27428850/how-to-bind-keyboard-shortcut-to-nsbutton-in-cocoa