title: How can I use [self performSelector: withObject: afterDelay:] method in +(void)classMethod
body: <p>How can I use <code>[self performSelector: withObject: afterDelay:]</code> method in <code>+(void)classMethod</code>?</p>
  
  <p>I've got a sprite defined in the following:</p>
  
  <pre><code>+(void)classMethod
  {
     CCSprite * sprite = [CCSprite spriteWithFile:@"sprite.png"];
  
    //and hope afterDelay3.0second remove this sprite
  
     [self performSelector:@select(clean:) withObject:sprite afterDelay:3.0];
  }
  
  +(void)clean:(CCSprite *)sprite
  {
     [sprite removeFromSuperView];
  }
  </code></pre>