当我尝试将委托和数据源设置为UIViewController,时,在UITableViewController中运行良好的所有函数都被检测为错误。return 10错误是
FirstViewController.swift:11:1: Type 'FirstViewController' does not conform to protocol'(UITableView!has non-matching type '(UITableView!在</em
我是Swift的新手。我创建了第二个swift file调用DeviceInfo.swift并在Main.storyboard中添加了一个UIViewcontroller。我还在UITableView中添加了一个UIViewcontroller(DeviceInfo)。但是,在我通过Use of undeclared type 'UITableView'将UITableView连接到DeviceInfo.s