title: Creating views on the fly from array
body: <p>I need to create a a bunch a views on the fly. I was wondering what would be the best way to go about doing this as ill need to define coordinates, tag, colours of each view.</p>
  
  <p>Would i need to create a multidimensional array and if so how can i do this?</p>
  
  <pre><code>CGRect viewRect1 = { 80.0, 200.0, 160.0, 100.0 };
  UIview *myview1 = [[UIview alloc] initWithFrame:viewRect1];
  [myview1 setBackgroundColor:[UIColor darkGrayColor]];
  </code></pre>