title: Call instance method from class method
body: <p>So I need to call some instance methods from class methods in Objective-C...</p>
  
  <p>Example :</p>
  
  <pre><code>+(id)barWithFoo:(NSFoo *) {
  [self foo]; //Raises compiler warning. 
  }
  
  -(void)foo {
  //cool stuff
  }
  </code></pre>
  
  <p>So my question; StackOverFlow is how do you do such things in Objective-C, I'm new kinda to OOP, so am I mad, or is there a way to do this?</p>