i have got 24 buttons in my project.I need to manage them but I don't want to get my MainViewController polluted by 24 declarations of pointers, properties & synthesizes.
i was thinking about using buttonPushed functions and do it like:
> -(IBAction)buttonPushed:(id)sender{
> UIbutton *button=sender;
>[buttons addObjectAtIndex:[sender tag]];
>}
my question is:is sender a pointer to the IBObject?
edit:
I need to get a pointer to an object in interface builder which has not been clicked (so any (id)sender sent yet), what to do?