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.
 
 
 
 

36 lines
847 B

//
// SelectPaymentPresenter.swift
// GME Remit
//
// Created by InKwon Devik Kim on 30/04/2019.
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
import Foundation
class SelectPaymentPresenter {
// MARK: Properties
weak var view: SelectPaymentViewInterface?
var interactor: SelectPaymentInteractorInput?
var wireframe: SelectPaymentWireframeInput?
// MARK: Converting entities
}
// MARK: SelectPayment module interface
extension SelectPaymentPresenter: SelectPaymentModuleInterface {
func viewIsReady() {
self.interactor?.fetchAccounts()
}
}
// MARK: SelectPayment interactor output interface
extension SelectPaymentPresenter: SelectPaymentInteractorOutput {
func setAccountModels(with models: [Account]?) {
self.view?.setAccountModels(with: models)
}
}