Skip to content

Instantly share code, notes, and snippets.

@shabib87
Created June 12, 2019 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shabib87/deb4de1b1169621f930e87ffc979053a to your computer and use it in GitHub Desktop.
Save shabib87/deb4de1b1169621f930e87ffc979053a to your computer and use it in GitHub Desktop.
Passive view protocol for HeroListViewController
protocol HeroListView: NSObjectProtocol {
func startLoading()
func finishLoading()
func reloadHeroList()
func showEmptyListMessage()
func gotoHeroDetails(presenter aPresenter: HeroDetailsPresenter)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment