Sha256: e3ec89ffe3d0b4728c71b6c6c752cef51bddbf400ecd8fbf7d3f3ab4edc84bcb
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
//___FILEHEADER___ import UIKit protocol ___VARIABLE_productName___Displayable: class { } class ___FILEBASENAMEASIDENTIFIER___: UIViewController, ___VARIABLE_productName___Displayable { // MARK: - Properties var router: (___VARIABLE_productName___Routable & ___VARIABLE_productName___DataPassing)! var interactor: ___VARIABLE_productName___Interactable! // MARK: - Initializers override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) { super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) setupVIP() } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) setupVIP() } // MARK: - Setup VIP private func setupVIP() { let interactor = ___VARIABLE_productName___Interactor() let presenter = ___VARIABLE_productName___Presenter() let router = ___VARIABLE_productName___Router() self.interactor = interactor self.router = router interactor.presenter = presenter presenter.viewController = self router.viewController = self router.dataStore = interactor } // MARK: - Lifecycle override func viewDidLoad() { super.viewDidLoad() } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blue_printer-0.1.3 | VIP Architecture.xctemplate/___FILEBASENAME___ViewController.swift |
blue_printer-0.1.2 | VIP Architecture.xctemplate/___FILEBASENAME___ViewController.swift |