【发布时间】:2014-09-04 08:53:09
【问题描述】:
我正在尝试使用 Swift 语言在自定义表格视图单元中分配文本。但它给出了错误说明“致命错误:在展开可选值时意外发现 nil”
【问题讨论】:
-
您的名字 TableVIew 中有一个大的“i”。对吗?
-
是的,这是正确的。在 Swift 中,“DequeueReusableCellWithIdentifier”函数不支持除“func tableView(tableView:UITableView!, cellForRowAtIndexPath indexPath:NSIndexPath!) -> UITableViewCell!”函数之外的其他自定义函数
标签: uitableview swift