Ported the code to work with Cocos2D iPhone v3 (develop-v3 branch)
Merge pull request #23 from tanis2000/develop

Ported the code to work with Cocos2D iPhone v3 (develop-v3 branch)