How To Install it:
- Navigate to where Xcode stores its templates: In Finder, press Cmd+Shift+G to bring up the “Go to the folder…” prompt, and enter in this path: ~/Library/Developer/Xcode/Templates/.
If you end up in a folder called “Templates”, you’re good to go. If you end up in a folder called “Xcode” it means you don’t have a Templates folder yet, so the first step is to create one: right-click in the window, choose New Folder, name it Templates, then navigate into it.
-
If you don't already have a
File Templates
folder in Templates, the create a sub folder and name itFile Templates
, for files templates (versus toProject Templates
) -
Copy
Design Patterns
folder to~/Library/Developer/Xcode/Templates/File Templates
to try it out.
You're more then welcome to improve this template.
Regarding this last path component Source/ you'll find it in Xcode under the related category Source for both iOS and OS X.
https://www.hackingwithswift.com/articles/158/how-to-create-a-custom-xcode-template-for-coordinators
https://snipt.net/raw/b216c160f38e9b3c095222607739b21c/
https://github.com/phranck/Xcode-Coordinator-Template
https://www.lordcodes.com/posts/create-xcode-file-templates
https://useyourloaf.com/blog/creating-custom-xcode-project-templates/