You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1004 B

  1. //
  2. // BiometricAuthenticationNotificationWireframe.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon Devik Kim on 30/04/2019.
  6. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import UIKit
  9. class BiometricNotificationWireframe {
  10. weak var view: UIViewController!
  11. }
  12. extension BiometricNotificationWireframe: BiometricNotificationWireframeInput {
  13. var storyboardName: String {return "BiometricNotification"}
  14. func getMainView() -> UIViewController {
  15. let service = BiometricNotificationService()
  16. let interactor = BiometricNotificationInteractor(service: service)
  17. let presenter = BiometricNotificationPresenter()
  18. let viewController = viewControllerFromStoryboard(of: BiometricNotificationViewController.self)
  19. viewController.presenter = presenter
  20. interactor.output = presenter
  21. presenter.interactor = interactor
  22. presenter.wireframe = self
  23. presenter.view = viewController
  24. self.view = viewController
  25. return viewController
  26. }
  27. }