Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emvakar/xcode-template-viper
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.
https://github.com/emvakar/xcode-template-viper
architecture architecture-pattern swift template template-project viper viper-architecture viper-swift viper-template xcode
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/emvakar/xcode-template-viper
- Owner: emvakar
- License: mit
- Created: 2023-09-17T11:18:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-11T12:26:31.000Z (4 months ago)
- Last Synced: 2024-09-11T18:16:57.496Z (4 months ago)
- Topics: architecture, architecture-pattern, swift, template, template-project, viper, viper-architecture, viper-swift, viper-template, xcode
- Language: Shell
- Homepage: https://www.emvakar.com
- Size: 42 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VIPER template for Xcode (<= 16.0.0)
[Russian :ru:](./README_RU.md)
:star2: 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.### Features
- 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### Installation
To install the template, run the following command. The template will be installed in the `~/Library/Developer/Xcode/Templates` directory.```shell
curl -sSL https://raw.githubusercontent.com/emvakar/xcode-template-viper/main/install_template.sh | bash
```### Usage
1. Create a new project through Xcode GUI.
2. Select the `iOS` category.
3. Scroll down to the `Others` section and choose the `AppVIPER` template.### Dependencies
We use the Swift Package Manager for dependency management.
Our template requires the following base dependencies:- SnapKit `https://github.com/SnapKit/SnapKit.git`
### Generate new module
Hierarhy module
```
Splash
│
├── Splash+DIResolver
│
├── Protocols
│ └── SplashProtocols
│
├── View
│ └── SplashViewController
│
├── Presenter
│ └── SplashPresenter
│
├── WireFrame
│ └── SplashWireFrame
│
└── Interactor
└── SplashInteractor
```#### Xcode Template
1. Press `CMD + N`
2. Select category `iOS`.
3. Scroll down to `Emil Karimov` and select `VIPER Module`.#### or Generabma
Generamba is our code generation tool.
To install the latest templates:
```shell
generamba template install
```To create a new module for development:
```shell
generamba gen MODULE_NAME ios_viper
```