Last active
January 23, 2019 08:34
-
-
Save meyusufdemirci/3adeaf36017b6b5f6ba3741244a005da 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
class HomeTableController: UITableViewController { | |
var presenter: HomePresenterProtocol! | |
var contactList: [Contact] = [] | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
presenter.getContact() | |
} | |
} | |
extension HomeTableController: HomeViewProtocol { | |
func showContact(contact: [Contact]) { | |
self.contactList = contact | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment