【问题标题】:Redundant conformance of the ChatViewController to protocolChatViewController 对协议的冗余一致性
【发布时间】:2016-03-21 14:47:16
【问题描述】:

我收到此错误:

ChatViewController 与协议的冗余一致性

这是我的代码:

class ChatViewController: ViewController, UITableViewDelegate, UITableViewDataSource

我该如何解决?

【问题讨论】:

  • ViewController 是什么?它是某种基类还是你的意思是UIViewController

标签: ios swift


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2015-12-09
    • 2018-07-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-03
    • 1970-01-01
    • 2016-03-10
    相关资源
    最近更新 更多