VIPERXCodeTemplate
VIPERXCodeTemplate copied to clipboard
A file template for Xcode using VIPER architecture.
VIPER Xcode template
A file template for Xcode. It creates all necessary files for VIPER architecture.
How to get started
- Download VIPER Xcode template
- Copy the
Architecturefolder to/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates/ - Start Xcode and create a new file (
File > New > Fileor⌘N) - Choose
ArchitectureandVIPER
Note: your class name will be appended with architecture names.
Architecture
DataManagerInteractorInteractorIO: Interface for input and output interactorModuleInterface: Interface PresenterPresenterViewControllerViewInterfaceWireframe
TODO
- 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
Sources
- Introduction to VIPER by Jeff Gilbert
- Architecting iOS Apps with VIPER by Jeff Gilbert and Conrad Stoll
- The Clean Architecture by Uncle Bob