title: Setting delegate to nil in dealloc
body: <p>In Objective-C, I understand that if an object sets itself as the delegate of another object, it should set that object's delegate to <code>nil</code> in its <code>dealloc</code> to avoid getting sent messages after it's gone.</p>
  
  <p>However, when using Accessorizer (an Xcode utility), the stub code it generates also puts a <code>delegate = nil</code> in the <code>dealloc</code> of the class that has the delegate instance variable. What is the purpose of that?</p>