Mar 11, 2010
XCode custom templates
I’ve been developing some iPhone applications both for fun and profit. Always I haven’t liked the way XCode creates new files in a project. Not only I didn’t like the formatting of the top comment (where your name shows and so on) but also I most of the times found myself deleting all the pre-generated contents.
For this reason I’ve investigated a bit in how to create custom templates and, starting from Apple defaults and the work done by jad I put up a simple project that anyone can edit to change to their own preferences and a simple script that links the templates so that XCode can (and will!) show them when you create new files.
I hope someone will find it useful, if no-one does no big problems, I still use it for myself and my collaborators :)
You can find the project and installation instructions (just running the script) on github
~C