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.
|
|
// // SendMoneyParentInteractor.swift // GMERemittance // // Created by gme_2 on 28/08/2018. //Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved. //
import Foundation
class SendMoneyParentInteractor { // MARK: Properties weak var output: SendMoneyParentInteractorOutput? private let service: SendMoneyParentServiceType var reciepient: Recipient? var account: Account? // MARK: Initialization init(service: SendMoneyParentServiceType, reciepient: Recipient?, account: Account?) { self.service = service self.reciepient = reciepient self.account = account }
// MARK: Converting entities }
// MARK: SendMoneyParent interactor input interface
extension SendMoneyParentInteractor: SendMoneyParentInteractorInput { func viewIsReady() { if let reciepient = self.reciepient, let acunt = self.account { self.output?.show(model: reciepient) self.output?.show(model: acunt) } } }
|