title: Setting label text from array, why isn't this working?
body: <p>I have the following code which isn't working, can someone tell me why? </p>
  
  <p>If I put label1.text = @"XX" into the loop this populates so it is obviously something to do with adding these objects into the array. Can I do this?</p>
  
  <pre><code>NSMutableArray *labels = [[NSMutableArray alloc] initWithObjects:label0.text,label1.text,label2.text,label3.text,label4.text,nil];
     for(int i=0; i&lt;labelStrings.count;i++) {
         labels[i] = @"XX";
      }
  </code></pre>