简体   繁体   English

ChatViewController与协议的冗余一致性

[英]Redundant conformance of the ChatViewController to protocol

I get this error: 我收到此错误:

Redundant conformance of the ChatViewController to protocol ChatViewController与协议的冗余一致性

This is my code: 这是我的代码:

class ChatViewController: ViewController, UITableViewDelegate, UITableViewDataSource

How can I fix? 我该如何解决?

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 对象与协议的冗余一致性 - Redundant conformance of Object to Protocol “ InboxTableViewController”与协议“ UITableViewDataSource”的冗余一致性 - Redundant conformance of 'InboxTableViewController' to protocol 'UITableViewDataSource' Swift:Viewcontroller与协议UIGestureRecognizerDelegate的冗余一致性 - Swift : Redundant conformance of Viewcontroller to protocol UIGestureRecognizerDelegate 错误:“ ViewController”与扩展协议的冗余一致性 - Error: Redundant conformance of 'ViewController' to protocol with extension Xcode 7 beta 5 Swift 2冗余符合协议错误 - Xcode 7 beta 5 Swift 2 redundant conformance to protocol error “ CLLocationCoordinate2D”与协议“可解码” /“可编码”的冗余一致性 - Redundant conformance of 'CLLocationCoordinate2D' to protocol 'decodable'/'encodable' 如何在swift中解决错误“viewController与协议UIScrollViewDelegate的冗余一致性? - How to solve the error "Redundant conformance of viewController to protocol UIScrollViewDelegate in swift? 快速冗余一致性 - Swift Redundant conformance 在iOS Swift中将FBSDKCore更新为5.6.0后,'ViewController'与协议'SharingDelegate'的冗余一致性 - Redundant conformance of 'ViewController' to protocol 'SharingDelegate' after updating the FBSDKCore to 5.6.0 in iOS Swift NSManagedObject和协议的一致性 - NSManagedObject and protocol conformance
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM