Reputation: 8769
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?
Upvotes: 15
Views: 4375
Reputation: 8769
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
Upvotes: 30