Created
January 23, 2019 08:19
-
-
Save meyusufdemirci/2941a9cbe6ddaf7e6db596ba4cd6f91f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MARK: Wireframe | |
protocol HomeWireframeProtocol: class {} | |
// MARK: Presenter | |
protocol HomePresenterProtocol: class { | |
var interactor: HomeInteractorInputProtocol! { get set } | |
func getContact() | |
} | |
// MARK: Interactor | |
// Interactor -> Presenter | |
protocol HomeInteractorOutputProtocol: class { | |
func gotContact(contact: [Contact]) | |
} | |
// Presenter -> Interactor | |
protocol HomeInteractorInputProtocol: class { | |
var presenter: HomeInteractorOutputProtocol! { get set } | |
func getContactFromService() | |
} | |
// MARK: View | |
protocol HomeViewProtocol { | |
var presenter: HomePresenterProtocol! { get set } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment