This repository contains custom Xcode file and project templates. See below for a full description and installation details.
The project templates appear in a Personal group in the template browser. You can change the name of this group by changing the installation folder.
- Manual Single View App: This template builds on the Xcode single view app template but does not use a Storyboard. It creates the window and root view controller manually in the App Delegate. Project options allow you to choose the name of the view controller class and whether to embed it in a navigation controller.
The file templates appear in a Personal group in the template browser. You can change the name of this group by changing the installation folder.
- UIKit Class: Custom
UIViewandUIViewControllerfile templates that call a privatesetupViewmethod to add views and constraints. The configuration options are similar to the default Cocoa Touch Class file templates.
-
If it does not yet exist create the
Project TemplatesandFile Templatesfolders under your home directory:$ mkdir -p ~/Library/Developer/Xcode/Templates/Project\ Templates $ mkdir -p ~/Library/Developer/Xcode/Templates/Files\ Templates -
Copy the contents of the
Project TemplatesandFile Templatesfolders in this repository into the above folders. -
The templates appear in the Xcode file and project template browsers under a
Personalgroup. You can change the name of this group by renaming the installation folder in theFile TemplatesorProject Templatesfolders:
See this blog post for more details on creating custom Xcode project templates:


