'ViewController' does not conform to protocol

117 Views Asked by At

I was learning from techotopia.com tutorial. I have copied all code from there, and I have an problem "Type 'ViewController' does not conform to protocol 'UITableViewDataSource'".

Code and errors are on this screenshot

There was a problem like this on stackoverflow, but in that case the problem was a typo, so I dare to ask.

1

There are 1 best solutions below

0
On BEST ANSWER

You are not finished implementing the required methods for the TableViewDataSource protocol. You should probably go on with the tutorial until you implemented the cellForRow method