Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 583 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 583 Bytes

🗃 Templates

Xcode file templates for fast and furious iOS devs (MVVM style)

In order to make templates visible for Xcode:

  1. Create File Templates catalog

mkdir ~/Library/Developer/Xcode/Templates/File\ Templates/

  1. Copy .xctemplate file to newly created catalog

mv View.xctemplate ~/Library/Developer/Xcode/Templates/File\ Templates/

  1. Add new file in xcode (⌘ + N) and scroll to File Templates

  2. Select new template and name it whatever you like

TIP: You don't need to add file name suffix (e.g. -View, -ViewModel, -ViewController) it will be there.