Quote:
Originally Posted by seanrice
Hi, I'm Sean. I think it sounds great and i'd love to see how you did it. I'm actually faced with exactly this situation and posted a Question on this to the forums. I basically built a scrollView and loaded it with buttons horizontally. 33 to be exact. Now i need to trap the (id)Sender information or the buttons, but can't figure out how to link them to an IBAction (one function for all), must less a firstResponder's IBAction ... where my global actions reside.
Thanks!  for any help.
|
You can link all the buttons to the same method in your code from IB.
You can do the same if creating the button progmatically using addTarget.
Lastly you could also add a unique tag to each button and query that in your single method.