title: NSString retainCount is 2147483647
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/1390334/nsstring-retain-count">NSString retain Count</a><br>
    <a href="https://stackoverflow.com/questions/403112/objective-c-nsstring-property-retain-count-oddity">Objective C NSString* property retain count oddity</a><br>
    <a href="https://stackoverflow.com/questions/4636146/when-to-use-retaincount">When to use -retainCount ?</a>  </p>
  </blockquote>
  
  
  
  <p>Why does this code show the retain value greater than 1? And why is it 2147483647?</p>
  
  <pre><code>NSString *data22 = [[NSString alloc] initWithString:@"fsdfsfsdf"];
  
  int a = [data22 retainCount];
  NSLog(@"retain count 1== %d  ====" ,a);
  </code></pre>
  
  <p>The output of the above code is</p>
  
  <pre><code> retain count 1== 2147483647  ====
  </code></pre>