This repos privides some useful Xcode templates. when you create file or create project in Xcode, Xcode provide you some default templates to create them. Sometimes, you need to custom the templates to make your work better, here is the method to make your custom Xcode templates.
-
create a new directory named Templates in the path: ~/Library/Developer/Xcode/, and then in the Templates directory create a directory with name Custom.
-
Download the Cocoa Touch Class.xctemplate directory, and copy it to the directory Custom that is created by the first step.(You can also find the Cocoa Touch Class.xctemplate in the path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/ in your computer.)
-
Then try to create some file in Xcode, you can find Custom item in the bottom.
That' all, enjoy yourself. ^_^