Right, you should be able to do that with one or two XIBs.
I would make a Hero class. It would have properties along the lines of:
- Clan/Tribe/Group/Whatever name
- Hero name
- Hero info
- Hero image(s) name(s), if needed
- Whatever else is needed to describe a Hero.
Your first view controller would have a table view. You would arrange your list of heros however you want. Tapping on a row would present the second view controller, which would display information based on the current hero. The first view controller would pass in the selected Hero object, and the second view controller would take that and use the information for display.
Basic rule of programming: If you are doing (more-or-less) the exact same thing over and over and over and over and over again, it's time for a rethink.
|