title: How to generate buttons using a for loop in ipad application?
body: <p>I would like to generate buttons using a for loop.</p>
  
  <p>Something like this:</p>
  
  <pre><code>button[] button = new button[10];
  for(i=0;i&lt;20;i++)
  {
  button[i].text = "some text";
  }
  </code></pre>
  
  <p>Could someone please suggest a way to do this?</p>