title: How to release IBOutlet defined as property?
body: <p>sorry for this question, but I searched it and I didn't find an answer for that case.</p>
  
  <p>I'm studying memory management for iOS and I understood, or I think so, the view lifecycle. But now I have a question on a IBOutlet (tat is linked to a UIImageView in my xib file). 
  I have a class like this:</p>
  
  <pre><code>@interface MyClass : UIViewController 
  
  @property (nonatomic, retain) IBOutlet UIImageView *myImage;
  </code></pre>
  
  <p>The question is: how can I release myImage? Is this ok?</p>
  
  <pre><code>- (void)dealloc {
      self.myImage = nil;
      [super dealloc];
  }
  
  - (void)viewDidUnload {
      [super viewDidUnload];
      self.myImage = nil;
  }
  </code></pre>
  
  <p>Can someone explain why can't I call the release method on myView (if you had some lik it is good too!)? </p>
  
  <p>Thanks in advance!</p>