This is my own xcode file templates folder, this template is using for XCode to create cocos2d-x class quickly.
XCode's user custom file template folder is :
~/Library/Developer/Xcode/Templates/File Templates/
Maybe you need create the File Templates
folder yourself.
Just clone/download the source, and copy the folder into this File Templates
folder.
Then you can see the effect in XCode, via : File -> New -> File
.
There are only two kind of templates :
- Singleton Template, with this you can create a singleton class quickly and it is reliable。
- Normal CCNode class Template.