title: Properties in dealloc: release then set to nil? or simply release
body: <p>I'm new to Objective-C (and stackoverflow) and I'm a little turned around about best practices with regards to properties. </p>
  
  <p>My understanding is that when you're completely done with a property you can avoid bugs by releasing them and then immediately setting to nil so that subsequent messages also return nil instead of an exception.</p>
  
  <blockquote>
    <p>[myProperty release], myProperty = nil;</p>
  </blockquote>
  
  <p>However, when it comes to dealloc for 'copy' and 'retain' properties is there any need to do both? or does a simple </p>
  
  <blockquote>
    <p>[myProperty release]
    cut it? Also, am I correct that I don't need to release 'assign' properties in dealloc?</p>
  </blockquote>
  
  <p>Thanks!</p>