MagicViper is a automatic code generator for VIPER Architecture in iOS. It helps in setting up intial project files and creating viper modules in objective C only. Understand what Viper architecture is : https://medium.com/trendyol-tech/creating-an-ios-viper-module-step-by-step-guide-cd1f414b7dd3
- Objective-C
- ruby
Install gem with:
$ gem install MagicViper
- Create an Xcode project
- Initialize basic VIPER structure with
MagicViper init
- Input Required
- your project name
- preferred language
- author
- class prefix
(these will be used in generated files). This input setting is stored in '.MagicViper.yml' file.
You can change these settings in
.MagicViper.yml
- Create your module with
MagicViper module create Example
You can use saved configuration by just pressing enters.