Skip to content

alejouribesanchez/VIPER-Generics-Generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIPER iOS Architecture Pattern Swift 3.0

##Concepts:

VIPER-Generics-Generator

Automatic generator of classes with protocols to comunicate over VIPER

Based on templates created on Clean Swift by @rayvinly

With the concepts of VIPER from objc.io

alt tag

##Install:

  • Open terminal and do next commands

cd Templates && make install_templates

alt tag

  • Add the file RoutingProtocol.swift to your project

alt tag

  • New File and select VIPER Scene and NEXT

alt tag

  • Choose name and finalize

alt tag

  • Configure your appDelegate to load your routing or see the example project
self.window = UIWindow()
self.window!.frame = UIScreen.main.bounds
let routing = ViperRouting()
try! routing.loadFromWindow(window: window!)
self.window!.makeKeyAndVisible()
  • See our example project to understand.