Get Object ID of UI element from code.

Posted by andoriyu.mp on Stack Overflow See other posts from Stack Overflow or by andoriyu.mp
Published on 2010-04-25T01:00:43Z Indexed on 2010/04/25 1:03 UTC
Read the original article Hit count: 311

I'm trying link 40 buttons to one event handler method and then do the processing work from one method instead of 40. I know how to link it but once I get there I don't know how to distinguish what button was pressed. Does anyone know how to reference the button object sender id or is there another way to solve this problem? Any help would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about objective-c