title: Cocos2d fade in/out action to repeat forever
body: <p>I'm trying to make a method for my <code>CCSprite</code> based <code>Player</code> class to start the player instance fading in and out until stopped by calling <code>stopAllActions.</code></p>
  
  <p>In my <code>Player</code> class I have:</p>
  
  <pre><code>- (void)pulse
  {
      [self setOpacity:1.0];
      CCAction *fadeIn = [CCFadeTo actionWithDuration:0.5 opacity:0.5];
      CCAction *fadeOut = [CCFadeTo actionWithDuration:0.5 opacity:1.0];
  
      CCSequence *pulseSequence = [CCSequence actions:
                                   fadeIn, // I get a warning about incompatible pointer types...
                                   fadeOut, 
                                   nil];
      [self runAction:pulseSequence];
  }
  </code></pre>
  
  <p>This doesn't work and doesn't address the repeat forever part.  I know I should probably use <code>CCRepeatForever</code> but I'm not seeing how to implement it correctly.</p>
  
  <p>Thanks!</p>