I’m using a UITableView in my project but don’t have a
numberOfRowsInSection in my class but class is giving this error. Type ‘ViewController’ does not conform to protocol ‘UITableViewDataSource’. Do you want to add protocol stubs? How to solve this problem?
For more info please click herehttps://stackoverflow.com/q/57643402