The respository contains a Module template in VIPER architecture. The module contains all the files like View, Presenter, Protocol, Inetarctor, API Data Manager, Wireframe along with code for some basic module configurations.
- Download or clone the respository.
- Under the repository you will find a folder named
Module VIPER.xctemplate
. - Copy the template.
- Now Go to Location
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File\ Templates/Source
. - Paste the folder you copied.
- If you have Xcode open, please quit Xcode.
- Now open Xcode again, and any existing VIPER project.
- Truy adding a new file.
- You will see a screen a like this. Choose the
module VIPER
option.