Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```