Archives for 

uibutton

Generating UIButtons from a loop, part 2

Hi, creating a second part of the tutorial as some folks wanted to do this trick with a few variations. ( link to part I ) As a start a Navigation controller got involved 🙂 So you end up with a problem where buttons would disappear as you go back and forth. Solution for this […]
8

Generating UIButtons from a loop

This is a very useful technique and it’s pretty straight forward. Let’s say we have an array of items or heroes and we want to dynamically create buttons that will do something linked to the hero/item selected. One example is if you have an array of saved games and you want to generate buttons to […]
20