/CCDXcodeFileTemplate

This is my own xcode file templates folder, this template is using for create cocos2d-x class quickly.

Primary LanguageC++

CCDXcodeFileTemplate

This is my own xcode file templates folder, this template is using for XCode to create cocos2d-x class quickly.

Usage

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.

Templates type

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.