Skip to content

Instantly share code, notes, and snippets.

@meyusufdemirci
Created January 21, 2019 07:48
Show Gist options
  • Select an option

  • Save meyusufdemirci/293ae37acb46d9708ed1f8f85b53b4d2 to your computer and use it in GitHub Desktop.

Select an option

Save meyusufdemirci/293ae37acb46d9708ed1f8f85b53b4d2 to your computer and use it in GitHub Desktop.
// MARK: Wireframe
protocol HomeWireframeProtocol: class {}
// MARK: Presenter
protocol HomePresenterProtocol: class {
var interactor: HomeInteractorInputProtocol! { get set }
}
// MARK: Interactor
// Interactor -> Presenter
protocol HomeInteractorOutputProtocol: class {}
// Presenter -> Interactor
protocol HomeInteractorInputProtocol: class {
var presenter: HomeInteractorOutputProtocol! { get set }
}
// 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