iOS : 'MyViewController' does not conform to protocol 'UITableViewDataSource'

后端 未结 4 2192
广开言路
广开言路 2020-12-29 05:43
  • I am new to IOS swift development. I used to work with previous Xcode 6 beta.

  • I have downloaded the Xco

4条回答
  •  清酒与你
    2020-12-29 06:33

    In my case, i named my UITableView as tableView. That caused this same error:

    'MyViewController' does not conform to protocol 'UITableViewDataSource'

    including another error:

    Candidate is not a function

    And changed tableview name to something else, error is gone.

提交回复
热议问题