- Go to
~/Library/Developer/Xcode/
and create a folder namedTemplates
. - If you want the custom templates to be separated from the original ones with a specific name (like in the image above), you should create another folder inside
Templates
with that name (e.g.Custom
). Otherwise, the separator will be calledTemplates
. - Put the *.xctemplate files from this repository in the folder you created.
The ViewCode template only works if you have the ViewCode protocol