Started practice swift. In singleViewController I am trying to make a UITableView
. In storyboard I set the datasource and delegate. Here I am getting the error
This is a common warning which means that " you haven't implemented the required methods of the protocol yet"
A view object on the storyboard may need a datasource. For example, TableView needs a datasource and usually, View Controller acts as one.
So Table View expects the ViewController to contain the methods which return the 'must have' information for the table view.
Table view needs to know the number of sections, number of rows in each section etc..
Unless all the required information is returned by the datasource object, the warning will persist.