title: Are static variables in Objective-C methods shared across instances?
body: <p>I want to clarify whether different instances of an Objective-C class share static variables that occur inside methods, or if each instance gets its own copy:</p>
  
  <pre><code>- (void) myMethod {
      static int myVar = 0;
  }
  </code></pre>