Possible Duplicate:
How to access multiple buttons in access function?
I have two different buttons in the same cell in a TabelView (which has 10 rows each with 2 buttons) both set to 20% opacity. One called "button1" and the other "button2". When "button1" is clicked I run the action "button1clicked". In "button1clicked" I set the opacity of button1 to 50%. I need to set the opacity of button2 to 100%.
So I need to somehow be able to get a reference to button2 in the same cell as button1. I can get a reference to the cell via
UITableViewCell *clickedCell = (UITableViewCell *)[sender superview];
How can I use this or any other way so I can set the opacity of "button2" via something like
["somehow reference button2" setAlpha:.5];
Thank you!