title: How do I use a for loop to display NSArray of UIImage's
body: <p>Hey guys, 
  So.... lets say I have an NSArray of images</p>
  
  <pre><code>NSMutableArray *images = [NSMutableArray new];
  [images addObject:[UIImage imageNamed:@"line1.png"]];
  [images addObject:[UIImage imageNamed:@"line2.png"]];
  [images addObject:[UIImage imageNamed:@"line3.png"]];
  [images addObject:[UIImage imageNamed:@"line4.png"]];
  </code></pre>
  
  <p>Now I would like to load all these at once using a for loop but here is the catch.... I need to be able to set the images as hidden until the user unhides through interaction. </p>
  
  <pre><code> for (UIImage *image in images) {
      UIImageView *line = [[UIImageView alloc] initWithImage:image];
      line.hidden = YES;
      [self.view addSubview:line];
  }
  </code></pre>
  
  <p>But then how to I set the hidden BOOL to NO using another method?</p>
  
  <p>As a secondary question, how would one release *line in the code above?</p>
  
  <p>Thanks,
  Darren</p>