Paul, Not that I know of. It’s probably easiest to just make your 1 method, and have a different action method for each button press that simply calls the 1 method with a different value. So something like this: - (void)ButtonPushed:(int)button { // do whatever } - (IBAction)button1Pushed:(id)sender { [self ButtonPushed:1]; } - (IBAction)button2Pushed:(id)sender { [self ButtonPushed:2]; } etc. Darrin On Apr 28, 2014, at 12:35 PM, Paul Miller <paul@fxtech.com> wrote:
When using multiple pushButton parameters (from the new v4 parameter creation API), is it possible to tell which one was clicked (the parameter id) when using the same callback/selector? _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/dcardani%40apple.com
This email sent to dcardani@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com