Generate boilerplates for View Controllers for one of 4 types: List
, ListTable
, Detail
and Form
.
The goal is to be able to setup new feature screens that are compilable right after file creation.
- Navigate to
~/Library/Developer/Xcode
- Create the subfolders
Templates/File Templates/
- Clone this repository in
File Templates
- To verify that it's working, open up Xcode and create a new file in a project. Under iOS, scroll all the way down and you should see the
Custom
template
Features | Description |
---|---|
List | A UICollectionViewController that displays a list of models. Includes: Local Filtering, optional UISearchController setup |
ListTable | A UITableViewController that displays a list of models. Includes: Local Filtering, optional UISearchController setup |
Detail | A UIViewController that displays the details of a model |
Form | A UIViewController that can be configured to create or edit a model |
Category | Description |
---|---|
Architecture | Finite State Machine Templates |
Architecture | CLEAN Templates |
Architecture | MVVM Templates |
Feature | Camera Template |
UI | Swift UI Templates |
UI | Programatic (no Storyboard) |
UI | Storyboard |
Others | Helper Methods |
Under construction ⛑
Created on: 27 August 2019