Skip to content

ESKARIA/viper_model_generamba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

viper template for Generamba

my own viper gen files

How to use

You need some BaseClasses

  1. DIResolver
  2. BaseWireFrame
  3. BaseInteractor
  4. BasePresenter
  5. BaseViewController: UIViewController

DIResolver

class DIResolver {

    init() { }

}

BaseWireFrame

class BaseWireFrame {

    let resolver: DIResolver

    init(resolver: DIResolver) {
        self.resolver = resolver
    }
}

BaseInteractor

class BaseInteractor { }

BasePresenter

class BasePresenter { }

BaseViewController

class BaseViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

    }
}