连接错误插座
问题描述:
我无法在我的课堂中创建任何对象连接,有没有什么方法可以查看课堂中对象的连接方式? Xcode的给了我这个错误:连接错误插座
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<VistaInicio 0x68879e0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key myButton.
答
有一个在VistaInicio
类没有myButton
插座。然而,某些xib中的某些设备已连接到它(可能在您卸下此插座之前它已连接)。您需要浏览Interface Builder文件并删除断开的连接。
感谢您的回答 – steelmunster 2012-08-17 15:20:53