美文网首页Xcode常见错误提示
「Xcode常见错误提示」this class is not k

「Xcode常见错误提示」this class is not k

作者: 元茜姑娘 | 来源:发表于2015-01-12 15:39 被阅读7053次

「Xcode常见错误提示」是「Swift学习笔记」(微信号:Swiftmemeda)的新栏目,总结给自己,以及需要的人。

错误现象: Xcode运行时报错:this class is not key value coding-compliant for the keyntroller for UIMainStoryboardFile.

原因分析:一个比较基础的错误,多发生在设置IBAction和IBOutlet时有多余或错误的连线。

解决方案:选中系统提示的view,在show the connections inspector检查控件的连接,将错误的删去重新连接即可。

xiabiao2.jpg

相关文章

网友评论

  • assassinate:没什么卵用
  • TinXie:請問 我的出現了這樣的情況
    [<UITextField 0x7f7f97043800> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key .
    (null)

    我移除了 相關的 UITextField 還是會出現的說...

本文标题:「Xcode常见错误提示」this class is not k

本文链接:https://www.haomeiwen.com/subject/pgeqxttx.html