I want to know how to add keyboard shortcuts to buttons, for example, to press the R key to press the Read button and the M key to press the value button, where the Read and value are buttons in the File window .nib
Select the button in the NIB. Select an attribute inspector. Focus on the Key Equivalents field. Enter the desired keystroke.