Xcode - change project templates

So I can add new templates for individual files, but I want Xcode to use those files when setting up a new project (most notably the Controller and Delegate.h and .m files). How to do it?

+2


a source to share


1 answer


In addition to the templates for individual classes that you find, there are also templates for different types of projects. If you just want to replace a single class file that has already been added to projects, you can simply replace the file in each project template file (if the names are the same). You will need to copy the template files into each project template that you want to modify. Another option is to create your own project templates with whatever default files you want.



+2


a source







All Articles