헤더 디파인 자동작성이 안되서 수정 + 싱글톤 포함
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/iOS/
위치에 살포시 놓으면 끝 :>
파일생성시 자동으로 생성!
포함된 파일은
C++Class.xctemplate
CocosClass.xctemplate
LayerClass.xctemplate
LayerWithSceneClass.xctemplate
NodeClass.xctemplate
SpriteClass.xctemplate
아래와 같다.
자료출저.
https://github.com/poowww/Cocos2d-x_XcodeTemplate