UIPicker 视图和 UITable 视图
我在 UIPickerview 和 UITableview 中都面临常见错误,即
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x4d32080> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key CurrencyPicker.'
请
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x4b2c070> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key tableView.'
帮助我解释为什么会出现这些错误。
我认为这是由于数据源以及表视图和选择器视图与文件所有者的委托连接所致。但我每件事都做对了。
请帮帮我。
谢谢。
I am facing on common error in both UIPickerview and UITableview, i.e.
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x4d32080> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key CurrencyPicker.'
and
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x4b2c070> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key tableView.'
Please help me why these are.
I think it is due to datasource and delegate connection of tableview and picker view to fileowner. but I have done every thing right.
Plz help me out.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
@Aman:这里是代码:
@Aman:在
setting.m中的setting.h中
@Aman: Here is code:
@ Aman:in setting.h
in setting.m
我认为这篇文章可能会有所帮助你
I think this post could help you