【发布时间】:2016-06-28 18:34:41
【问题描述】:
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("nameCell", forIndexPath: indexPath)
let pancakeHouse = pancakeHouses[indexPath.row]
if let cell = cell as? FAQsViewCell {
cell.pancakeHouse = pancakeHouse
} else {
cell.textLabel?.text = pancakeHouse.que
}
return cell
}
我在运行我的项目时遇到了UITableViewController这个功能的错误,当时我得到它我无法理解它为什么会出现或它的含义。
【问题讨论】:
-
错误出现在哪一行?
-
您能提供更多信息吗?
-
现在解决了,谢谢