[英]'ViewController' does not conform to protocol
I was learning from techotopia.com tutorial. 我正在从techotopia.com教程中学习。 I have copied all code from there, and I have an problem "Type 'ViewController' does not conform to protocol 'UITableViewDataSource'".
我从那里复制了所有代码,并且遇到了一个问题“类型'ViewController'不符合协议'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. 在stackoverflow上有这样的问题,但是在那种情况下,这个问题是错字,所以我敢问。
You are not finished implementing the required methods for the TableViewDataSource protocol. 您尚未完成实现TableViewDataSource协议所需的方法。 You should probably go on with the tutorial until you implemented the cellForRow method
在实现cellForRow方法之前,您可能应该继续学习本教程。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.