After building a UI with a fair amount of buttons (with tags) that are created in a for loop, I can load specific data into a UIWebView depending on the button touched.
but the only "argument" i can get is the senders tag, my question is what is the best way to pass more parameters if needed. I thought of:
- Creating a subclass for those buttons with parameters I need.
- having an array of objects, and addressing it by those tags.
or maybe there are some more elegant, sophisticated ways?
I hope I made myself clear. Thanks in advance