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.
43 lines
926 B
43 lines
926 B
//
|
|
// SendMoneyParentPresenter.swift
|
|
// GMERemittance
|
|
//
|
|
// Created by gme_2 on 28/08/2018.
|
|
//Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class SendMoneyParentPresenter {
|
|
|
|
// MARK: Properties
|
|
|
|
weak var view: SendMoneyParentViewInterface?
|
|
var interactor: SendMoneyParentInteractorInput?
|
|
var wireframe: SendMoneyParentWireframeInput?
|
|
|
|
// MARK: Converting entities
|
|
|
|
}
|
|
|
|
// MARK: SendMoneyParent module interface
|
|
|
|
extension SendMoneyParentPresenter: SendMoneyParentModuleInterface {
|
|
func viewIsReady() {
|
|
self.interactor?.viewIsReady()
|
|
}
|
|
}
|
|
|
|
// MARK: SendMoneyParent interactor output interface
|
|
|
|
extension SendMoneyParentPresenter: SendMoneyParentInteractorOutput {
|
|
func show(model: Recipient) {
|
|
self.view?.show(model: model)
|
|
}
|
|
|
|
func show(model: Account) {
|
|
self.view?.show(model: model)
|
|
}
|
|
|
|
|
|
}
|