Skip to content

Instantly share code, notes, and snippets.

@VB10
Created October 9, 2020 05:20
Show Gist options
  • Save VB10/af9444bf32266da41d8c09a33d2f9f4a to your computer and use it in GitHub Desktop.
Save VB10/af9444bf32266da41d8c09a33d2f9f4a to your computer and use it in GitHub Desktop.
Home Contractor
protocol HomeInteractorOutputs {
func onSuccessSearch(res: CatRepositoresResponse)
func onErrorSearch(error: BaseError)
}
protocol HomeViewInputs {
func configure(entities: HomeEntities)
func reloadTableView(tableViewDataSource: HomeTableViewDataSoruce)
func setupTableViewCell()
func indicatorView(animate: Bool)
func sortByTitle()
}
protocol HomeViewOutputs {
func viewDidLoad()
func onCloseButtonTapped()
func onReachBottom()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment