title: What is the difference between "copy" and "retain"?
body: <p>What is the difference between <code>copy</code> and <code>retain</code> for <code>NSString</code>?</p>
  
  <pre><code>- (void)setString:(NSString*)newString
  {
      string = [newString copy];
  }
  </code></pre>