I have upgraded my project to the latest beta of cocos2d 2.1 and I am now receiving the errors,
Cannot find protocol declaration for CCTargetTouchDelegate
and
Cannot find protocol declaration for CCStandardTouchDelegate
How do I fix this?
As of cocos2d 2.1 beta 3 the following changes have been made to the touch delegates.
CCTargetedTouchDelegate -> CCTouchOneByOneDelegate
CCStandardTouchDelegate -> CCTouchAllAtOnceDelegate
Simply change the name of the protocol in your class declaration and the error will be fixed.
Reference: CHANGELOG
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With