title: Instance variable 'variable' accessed in class method error
body: <p>I have a variable declared in the header file : </p>
  
  <p>@interface</p>
  
  <pre><code>int _nPerfectSlides;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>@property (nonatomic, readwrite) int _nPerfectSlides;
  </code></pre>
  
  <p>and I have a method that I declared in the header : </p>
  
  <pre><code>+ (void) hit;
  </code></pre>
  
  <p>The method has the following code in it : </p>
  
  <pre><code>+ (void) hit {
      NSLog(@"hit");
      _nPerfectSlides = 0;
      [_game showHit];
  }
  </code></pre>
  
  <p>now for some reason I get the error "Instance variable '_nPerfectSlides' accessed in class method" error and it seems like I cant access any variables inside the method. What am I doing wrong?</p>