Templates for Xcode Add the file *.xctemplate to the folder: /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates The template can be found in the Xcode menu File -> New -> File...