A file template for Xcode. It creates all necessary files for VIPER architecture.
- Download VIPER Xcode template
- Copy the
Architecture
folder to/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates/
- Start Xcode and create a new file (
File > New > File
or⌘N
) - Choose
Architecture
andVIPER
Note: your class name will be appended with architecture names.
DataManager
Interactor
InteractorIO
: Interface for input and output interactorModuleInterface
: Interface PresenterPresenter
ViewController
ViewInterface
Wireframe
- Add objective-c template and option to let the developer choose between objective-c or Swift
- Add option for View Controller type
- Improve Swift code