title: UIImageView alloc] initWithImage using IBOutlet not working
body: <p>I've typically followed the pattern of creating an object in my method (like <code>viewDidLoad</code>), have the property hold onto it, then release the original object created.  So something like this:</p>
  
  <pre><code>NSArray *myArray = [NSArray alloc] initWithObjects:@"1", @"2", @"3", nil];
  self.array = myArray;
  [myArray release];
  </code></pre>
  
  <p>I thought I could do the same thing with <code>UIImageView</code>.  I have a <code>UIImageView</code> created in my <code>.xib</code>. I have an outlet to it that is a property like so</p>
  
  <pre><code>@property (nonatomic, retain) IBOutlet UIImageView *imageView;
  </code></pre>
  
  <p>In my <code>viewDidLoad</code>, I do:</p>
  
  <pre><code>UIImageView *imgView = [[UIImageView alloc] initWithImage;[UIImage imageNamed:@"arrow.png"]];
  self.imageView = imgView;
  [imgView release];
  </code></pre>
  
  <p>If I run this, I do not get anything on screen.  However, if I do just this in my <code>viewDidLoad</code> instead:</p>
  
  <pre><code>[self.imageView setImage:[UIImage imageNamed:@"arrow.png"]];
  </code></pre>
  
  <p>I do get my arrow image on screen.  Is there something different about <code>UIImageView</code> that I am missing here?  </p>
  
  <p>Edit because of first response:  Is <code>UIImageView</code> different than <code>UITableView</code> in that I need to add it as a subview to my current view?  When I create a <code>UITableView</code> in <code>IB</code>, I do not add it as a <code>subview</code> in <code>viewDidLoad</code>.</p>
  
  <p>Thanks.</p>