Last active
August 17, 2018 05:46
-
-
Save Abhishek9634/3f174bec48751c504f0fa3e926cf6c18 to your computer and use it in GitHub Desktop.
This file contains 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
private func setupViewModel() { | |
self.viewModel.reloadHandler = { | |
self.tableView.reloadData() | |
} | |
self.showLoader() | |
self.viewModel.fetchItems { _ in | |
self.hideLoader() | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment