title: When to make object nil and when to call release
body: <p>Today I see code in which user is releasing the object first and then he is making that object nil. like this</p>
  
  <pre><code>[objectA release];
  objectA=nil;
  </code></pre>
  
  <p>I have read at many books that we should make the object nil while leaving the view and release the object later(in dealloc method of course this method is called after viewWillDisappear or viewDidDisappear).</p>
  
  <p>Now i want to know that which approach is better?</p>