我运行我的应用程序,当我点击这是应该要带我去一个TableViewController导航按钮,它崩溃,给我这个错误:这个错误[NSUnknownKeyException]在xcode(目标c)中的含义是什么?
***终止应用程序由于未捕获的异常“NSUnknownKeyException”,原因:'[setValue:forUndefinedKey:]:该类不是关键字索引的关键字值。“
这也突出了发生错误的位置,指着这条线在我的DataTableViewController类:
CoordinatesCustomCell *cell = [tableView dequeueReusableCellWithIdentifier:@"CoordinatesCustomCell" forIndexPath:indexPath];
我真的不知道这意味着什么,并可以使用一些帮助
github上的代码: https://github.com/nneeranjun/Maps.git
在你的github代码中有些文件丢失了 – Shreyank
好的,我能够修复这个错误。现在它不会崩溃,但是当我尝试为标签设置值时,它们没有显示出来。此外,什么文件丢失。我通过xcode上传了所有内容? –
CoordinatesCustomCell.m引用在xcode中,但没有物理文件存在 – Shreyank