🌟 If you liked our project, please give us a star! This will help other developers learn about our work and appreciate it. Thank you!
This template is designed for those who want to quickly start developing a project in Xcode using the VIPER architecture. Eliminate the routine of setting up a project with this ready-made template.
- Automatic project setup upon its creation.
- Save time with pre-installed configurations.
- Generation of the following files and components when creating a project:
- Gemfile
- fastlane
- Rambafile
- Base classes
- Extensions
- Helpers
To install the template, run the following command. The template will be installed in the ~/Library/Developer/Xcode/Templates
directory.
curl -sSL https://raw.githubusercontent.com/emvakar/xcode-template-viper/main/install_template.sh | bash
- Create a new project through Xcode GUI.
- Select the
iOS
category. - Scroll down to the
Others
section and choose theAppVIPER
template.
We use the Swift Package Manager for dependency management. Our template requires the following base dependencies:
- SnapKit
https://github.com/SnapKit/SnapKit.git
Hierarhy module
Splash
│
├── Splash+DIResolver
│
├── Protocols
│ └── SplashProtocols
│
├── View
│ └── SplashViewController
│
├── Presenter
│ └── SplashPresenter
│
├── WireFrame
│ └── SplashWireFrame
│
└── Interactor
└── SplashInteractor
- Press
CMD + N
- Select category
iOS
. - Scroll down to
Emil Karimov
and selectVIPER Module
.
Generamba is our code generation tool.
To install the latest templates:
generamba template install
To create a new module for development:
generamba gen MODULE_NAME ios_viper