title: Selector function with int parameter?
body: <p>Using Cocos2d-iphone, and objective-c game development framework.</p>
  
  <p>I create a button with:</p>
  
  <pre><code>CCMenuItemImage *slot = [CCMenuItemImage itemFromNormalImage:@"BattleMoveSelectionSlot1.png" 
                                                         selectedImage:@"BattleMoveSelectionSlot2.png"
                                                                target:self selector:@selector(moveChosen:i)];
  </code></pre>
  
  <p>And my <code>moveChosen</code> method is:</p>
  
  <pre><code>-(void)moveChosen:(int)index {
  
  }
  </code></pre>
  
  <p>However, for some reason I get an error on <code>@selector(moveChosen:i)</code> where i is an integer. How, then, may I pass an integer parameter to my function when the button is pressed?</p>
  
  <p>The error is </p>
  
  <blockquote>
    <p>Expected ':'</p>
  </blockquote>