- open terminal
git clone git://github.com/sgleadow/xcode4_file_templates.git
cd xcode4_file_templates
./install_templates
The install script copies the templates from the cloned repository to the template directory, essentially:
creates the template directory ~/Library/Developer/Xcode/Templates/File\ Templates/Custom\ Templates
copies in all the .xctemplate
files into the custom templates directory
$> cd xcode4_file_templates
$> git pull
$> ./install_templates
Done