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.

33 lines
922 B

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