简体   繁体   中英

Redundant conformance of the ChatViewController to protocol

I get this error:

Redundant conformance of the ChatViewController to protocol

This is my code:

class ChatViewController: ViewController, UITableViewDelegate, UITableViewDataSource

How can I fix?

我相信这意味着您的ViewController类已经实现了UITableViewDelegate或UITableViewDataSource。

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