this class is not key value coding-compliant for the key XXX错误的解决方法

今天在听iOS开发讲座时,照着讲座的demo输入代码,尝试运行时遇到了" this class is not key value coding-compliant for the key digitPressed.' "的错误,经过一番搜索和排查发现是自己在设置IBAction和IBOutlet时有多余的连线,按下ctrl键检查控件的连接将多余的连续删除后程序 正常运行。

posted @ 2015-10-13 17:39  brave-sailor  阅读(1152)  评论(0编辑  收藏  举报