Mold2 installs ready-to-use templates in Xcode. It includes templates for MVP, VIPER and CleanArchitecture.
Mold2 is a rewrite of suyati/Mold to make it easier to use in my project.
- Download the files from this repository.
- Open Termial
- Navigate to the downloaded folder
- Run the following script
- That's it :) 🍻
swift boot.swift
After installing you can access the templates from File -> New -> File.
Scroll to the bottom and you can see a section named Mold2.
The file templates generated for VIPER and CleanArchitecture require the use of the Swinject/SwinjectStoryboard as a DI container.
For more information about Swinject/SwinjectStoryboard, please check the documentation or the sample code to use.