Choose correct UIButton on dynamiclly created buttons without tags
<p>I am loading up a plist file and creating buttons based on this file.  These buttons can change at any point during the application running (which will trigger an update of all the buttons etc).</p>

<p>One set of buttons represents a list of categories.  So I may have a house button, car button, etc.  No matter what button is pressed it will call my categoryButtonPressed:(id) sender function.  I need to know what button called it and load a second set of data based on the button (category) that was pressed.</p>

<p>So if I press the house button, the function needs to load the house data, but how can I determine what button was pressed in that function.  If I use tags I have to know that the house button is tag 1, car is tag 2 and so forth.  BUT I don't know if there will even be a house button until I read that file. Do I need to code the tag into the plist file as well?  </p>

<p>OR is there a way to loop through my Array of UIButtons and determine this?  Any advice?</p>

<p>And last, if I create my own extended version of UIButton that added a "name" variable, would I would still be out of luck because the action would pass the UIButton base and comparing my extended class to the base would always fail correct?</p>

<p>Thanks for any and all help!</p>
