title: Add UIImageView objects to an array (Objective C)
body: <p>I've read the other threads about arrays of UIImageView-objects, but I can't get it to work. Note that I'm completely new to Objective-c.</p>
  
  <p>I have some UIImageView objects declared in the .h - file like this:</p>
  
  <pre><code>@property (weak, nonatomic) IBOutlet UIImageView *obj1;
  </code></pre>
  
  <p>I also have an array declared at the same place:</p>
  
  <pre><code>@property (weak, nonatomic) IBOutlet NSArray *arr;
  </code></pre>
  
  <p>In the viewDidLoad-method I want to add obj1 to arr. How can I do that?</p>
  
  <p>I've tested to initialize arr and add objects to it, but it doesn't work.</p>
  
  <pre><code>_arr = [[NSMutableArray alloc] init];
  
  [_arr addObjects: obj1];
  </code></pre>
  
  <p>Hank</p>