Skip to content

Latest commit

 

History

40 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIPERLib

Swift Package

Description

Library that helps you implementing the VIPER architecture with UIKit.

Installation

Use Swift Package Manager to install.

Concept

Module Generation

Use Generamba code generator to instantly generate VIPER module groups and classes inside Xcode and your project directory.

  1. Run gem install generamba inside terminal if Generamba is not installed already.
  2. Run generamba setup in the project root folder. This command helps to create Rambafile that define all configuration needed to generate code. You can modify this file directly in future.
  3. Add VIPER module templates planned to use in the project to the generated Rambafile:
### Catalogs
catalogs:
- 'https://github.com/littleigloo/Generamba-Template-Catalog.git'

### Templates
templates:
- {name: viper_module}
  1. Run generamba template install. All the templates will be placed in the Templates folder of your current project.

  2. To generate a new module with a specific name run the following command in the project root folder:

generamba gen [Module Name] viper_module'

Example

Check the example project included in the repo for experimenting and better undestanding of VIPER concept. The detailed information about the Generamba tool is available in Generamba Wiki.

Credits

Created and maintained by epitonium.

License

VIPERLib is distributed under the terms and conditions of the LICENSE.

About

📦 Swift Package 🔸 Library that helps you implementing the VIPER architecture.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages