title: How to clear a dictionary?
body: <p>I'm currently doing the following to clear out an NSMutableDictionary</p>
  
  <pre><code>[myDictionary release];
  myDictionary = [[NSMutableDictionary alloc] init];
  </code></pre>
  
  <p>The release line doesn't actually release any objects in the dictionary. I can still see all of them on the next line.  It isn't until the alloc line is executed that the dictionary is zeroed out.  Is there a better way to do it?</p>