title: Xcode Cocos 2D How To Use Selector With Multiple Parameters
body: <p>I am trying to do something like this:</p>
  
  <pre><code>CCMenuItemImage *BuyButton = [CCMenuItemImage itemWithNormalImage:@"Buy.jpg" selectedImage:@"Buy.jpg" target:self selector:@selector(Function:cnt)];
  </code></pre>
  
  <p>For some reason I can't pass any parameters to the function 'Function'. I have spend a lot of  time looking into this but the the only solution i have found uses object ids and i would rather not get into that. This button is in a loop so i can't just have another function called thats get parameters from elsewhere. </p>