Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
SourcesTableViewController
class SourcesTableViewController : UITableViewController {
private var webservice :Webservice!
private var sourceListViewModel :SourceListViewModel!
override func viewDidLoad() {
super.viewDidLoad()
updateUI()
}
private func updateUI() {
self.webservice = Webservice()
self.sourceListViewModel = SourceListViewModel(webservice: self.webservice)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment