"this class is not key value coding-compliant for the key ..."问题的解决(转)
来源:互联网 发布:mac terminal字体 编辑:程序博客网 时间:2024/04/28 17:47
一般此问题 都是由interface build与代码中IBOutlet的连接所引起的。
可能是在代码中对iboutlet的名称进行了修改,导致interface build中的连接实效。
如果在该viewcontroller连接的xib文件中没发现错误,
那就很可能是mainWindow.xib文件中存在问题,
本人遇到的问题是在mainWindow.xib的tabbarcontroller的某个tab的viewcontroller设置了loadfrom"**.xib",
但忘了将其class设为对应的viewcontroller类了。
在MainWindow.xib中,Tab Bar Controller下的ViewController少了一个配置,正确的配置如图:
图1:配置Custom Class
图2:配置View Controller
- "this class is not key value coding-compliant for the key ..."问题的解决(转)
- "this class is not key value coding-compliant for the key ..."问题的解决
- iOS "this class is not key value coding-compliant for the key ..."问题的解决
- "this class is not key value coding-compliant for the key ..."问题的解决
- this class is not key value coding-compliant for the key imageView的崩溃问题
- 关于Xcode"this class is not key value coding-compliant for the key" 的错误问题
- this class is not key value coding-compliant for the key buttonPressed.' 错误解决方式
- this class is not key value coding-compliant for the key buttonPressed.' 错误解决方式
- iOS setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key 问题
- Xcode运行后报错: this class is not key value coding-compliant for the key的原因
- this class is not key value coding-compliant for the key XXX错误的解决方法
- this class is not key value coding-compliant for the key XXX错误的解决方法
- this class is not key value coding-compliant for the key '***'的解决方案
- this class is not key value coding-compliant for the key
- this class is not key value coding-compliant for the key
- 关于 Xcode:this class is not key value coding-compliant for the key
- this class is not key value coding-compliant for the key XXXX
- 报错:this class is not key value coding-compliant for the key closeLotTextField解决方法
- 经典SQL语句大全
- Java内存分配全面浅析
- 90岁病危老股民的真心话
- 线性回归与分类, 解决与区别
- CF 178(div 2)B(greedy + 枚举)
- "this class is not key value coding-compliant for the key ..."问题的解决(转)
- 勿以自己的经历来审视他人
- POJ-1325-Machine Schedule
- Stm32 DMA
- 低吸是大傻,买点不是最低那一天,而是发力那一刻
- MyEclipse连接MySQL的方法
- 写代码,反转一个单链表,分别以迭代和递归的形式来实现
- hdu2444 二分匹配 The Accomodation of Students
- 知道与做到之间的距离