Viper_Module_Template

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.

Template Configurations

  1. Download or clone the respository.
  2. Under the repository you will find a folder named Module VIPER.xctemplate.
  3. Copy the template.
  4. Now Go to Location /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File\ Templates/Source.
  5. Paste the folder you copied.
  6. If you have Xcode open, please quit Xcode.
  7. Now open Xcode again, and any existing VIPER project.
  8. Truy adding a new file.
  9. You will see a screen a like this. Choose the module VIPER option. Create new module