Juanpe / Swift-VIPER-Module

Xcode template for VIPER Architecture written in Swift 4
543 stars 112 forks source link

Simple example #1

Closed Alex293 closed 7 years ago

Alex293 commented 7 years ago

Hi it would be very nice to have a very simple example using it. i.e. just 2 modules that do nothing but show how to load the root one from the app delegate and load another one from it. I'm new to viper and every source have a way to do it so I'd like to know your way because i'm gonna use your template :)

Alex293 commented 7 years ago

Also do you use generic extension to load your xib or use per module code into the viewProtocol ?

Juanpe commented 7 years ago

Hi @Alex293, I think that is a good idea to create an simple example. I labeled as enhancement. And the second question, the wireframe should initialize your ViewControllers, so wireframe is a good place to load your xib..

Alex293 commented 7 years ago

I've been using it and I love it !