I'm working thru the Cocos2d tutorial here:
How To Create Buttons in Cocos2D: Simple, Radio, and Toggle | Ray Wenderlich
and
Code:
-(BOOL) ccTouchBegan:(UITouch *)touch withEvent:(UIEvent *)event {
if ( state_ != kCCMenuStateWaiting ) return NO;
CCMenuItem *curSelection = [self itemForTouch:touch];
returns an error, 'method -itemForTouch not found
It looks like this was made for an older SDK, anyone have this problem or a work-around?
Is itemForTouch a part of Apples SDK or Cocos2d API?
Thanks.