You can connect more than one button to the same action method in Xcode. After creating and connecting the first action, control-drag the remaining buttons to the existing action in the .h file:
Then you can assign different tags to the buttons in the Attributes Inspector,
and check [sender tag]
in the action method.
If you create a new action with the same name, Xcode creates another method with the same name, which will cause compiler errors due to "duplicate declarations".