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.

37 lines
835 B

  1. //
  2. // SendMoneyParentPresenter.swift
  3. // GMERemittance
  4. //
  5. // Created by gme_2 on 28/08/2018.
  6. //Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import Foundation
  9. class SendMoneyParentPresenter {
  10. // MARK: Properties
  11. weak var view: SendMoneyParentViewInterface?
  12. var interactor: SendMoneyParentInteractorInput?
  13. var wireframe: SendMoneyParentWireframeInput?
  14. // MARK: Converting entities
  15. }
  16. // MARK: SendMoneyParent module interface
  17. extension SendMoneyParentPresenter: SendMoneyParentModuleInterface {
  18. func viewIsReady() {
  19. self.interactor?.viewIsReady()
  20. }
  21. }
  22. // MARK: SendMoneyParent interactor output interface
  23. extension SendMoneyParentPresenter: SendMoneyParentInteractorOutput {
  24. func show(model: Recipient) {
  25. self.view?.show(model: model)
  26. }
  27. }