I would like to set the delegate and datasource for \'tableViewinViewController.swift` file.
delegate
datasource
in
I wrote this code in my viewDidL
The correct way to set the delegate and data source is:
tableView.delegate = self tableView.dataSource = self
Do this, it will work