Created
January 23, 2019 15:23
-
-
Save meyusufdemirci/b8b0e87e1dadf842ae39be7714093c7b 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 ContactDetailWireframeProtocol: class {} | |
// MARK: Presenter | |
protocol ContactDetailPresenterProtocol: class { | |
var interactor: ContactDetailInteractorInputProtocol! { get set } | |
func getContact() | |
} | |
// MARK: Interactor | |
// Interactor -> Presenter | |
protocol ContactDetailInteractorOutputProtocol: class {} | |
// Presenter -> Interactor | |
protocol ContactDetailInteractorInputProtocol: class { | |
var presenter: ContactDetailInteractorOutputProtocol! { get set } | |
} | |
// MARK: View | |
protocol ContactDetailViewProtocol { | |
var presenter: ContactDetailPresenterProtocol! { get set } | |
func showContact(contact: Contact) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment