title: Accessing Singleton Instance Variable in Class Methods Throws Warning?
body: <p>I've using the <a href="https://stackoverflow.com/questions/145154/what-does-your-objective-c-singleton-look-like">Objective-C singleton from here at stackoverflow</a>. </p>
  
  <p>The singleton in the class method accesses it's instance variable, which works, but throws a complie warning. How should I be doing this? Is there a way to do this without accessing the <code>sharedInstance:</code> in each class method?</p>
  
  <p>for example here is my class method:</p>
  
  <pre><code>+ (NSString *)myClassMethods {
      [instanceDateFormatter setFormat:@"MM"];
      return [instanceDateFormatter stringWithDate:somedate];
  }
  </code></pre>
  
  <p>line 2 will have the complie warning.</p>
  
  <p>Thanks,
  Ross</p>