Can anyone suggest a way to prevent the following duplicates?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Your class conforms to UITableViewDataSource and UITableViewDelegate, which declare those methods. So it might implement those methods. But it also inherits from UITableViewController, which does implement them. So your class might override those methods. Thus the method listings are arriving, as it were, from two different sources.
EDIT: Big news: this problem is resolved in Xcode 10.2.