// // HotLinePresenter.swift // GME Remit // // Created by InKwon Devik Kim on 23/05/2019. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. // import Foundation class HotLinePresenter { // MARK: Properties weak var view: HotLineViewInterface? var interactor: HotLineInteractorInput? var wireframe: HotLineWireframeInput? } // MARK: HotLine module interface extension HotLinePresenter: HotLineModuleInterface { func fetchHotLines() { interactor?.fetchHotLines() } } // MARK: HotLine interactor output interface extension HotLinePresenter: HotLineInteractorOutput { func setHotLine(with model: [HotLine]?) { view?.setHotLine(with: model) } func setError(with error: Error) { view?.setError(with: error) } }