Convenience template for generating code for VIPER Module
- Install generamba
- Add template
- Add transition helper to your project
- Open your project root directory on terminal and run
generamba gen [MODULE_NAME] swift_viper
... profit 😎
├── Assembly
│ └── YOUR_MODULE_NAMEModuleAssembler.swift # Inject your dependencies heare
├── Interactor
│ ├── YOUR_MODULE_NAMEInteractor.swift
│ ├── YOUR_MODULE_NAMEInteractorInput.swift
│ └── YOUR_MODULE_NAMEInteractorOutput.swift
├── Presenter
│ ├── YOUR_MODULE_NAMEModuleInput.swift
│ ├── YOUR_MODULE_NAMEModuleOutput.swift
│ └── YOUR_MODULE_NAMEPresenter.swift
├── Router
│ ├── YOUR_MODULE_NAMERouter.swift
│ └── YOUR_MODULE_NAMERouterInput.swift
├── View
│ ├── YOUR_MODULE_NAMEView.swift
│ ├── YOUR_MODULE_NAMEViewController.swift
│ ├── YOUR_MODULE_NAMEViewInput.swift
│ └── YOUR_MODULE_NAMEViewOutput.swift
└── YOUR_MODULE_NAMEModule.swift # Module spec for transition helper