简体   繁体   中英

'ViewController' does not conform to protocol

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM