XCode templates for cocos2d-x
- open XCode
- Add New File
- Select "cocos2d-x"
- Decide a template you want
mkdir -p "$HOME/Library/Developer/Xcode/Templates/File Templates"
git clone https://github.com/ryutamaki/cocos2d-x-templates.git ~/Library/Developer/Xcode/Templates/File\ Templates/cocos2d-x
cd path/to/cocos2d-x-templates
git pull origin master
rm -r path/to/cocos2d-x-templates