Skip to content

Instantly share code, notes, and snippets.

@azamsharp
Created November 27, 2017 20:18
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 azamsharp/781b077f6240a7e2b3107ec0dca6d5ad to your computer and use it in GitHub Desktop.
Save azamsharp/781b077f6240a7e2b3107ec0dca6d5ad to your computer and use it in GitHub Desktop.
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