开发者

Putting a new XIB file in my project gives problems with "keys"

开发者 https://www.devze.com 2023-02-25 08:18 出处:网络
I\'m trying to make a menu for my app which I already made. I added a new .m-file, .h-file & a nib file and named this Menu. Within my P-list i have set Menu as \"Main nib file base name (iPad)\".

I'm trying to make a menu for my app which I already made. I added a new .m-file, .h-file & a nib file and named this Menu. Within my P-list i have set Menu as "Main nib file base name (iPad)".

When I run this project I get this error:

"Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]:开发者_JAVA技巧 this class is not key value coding-compliant for the key opstelling."

Any suggestions how I can fix this error?


Check your class instance (or reference if it is the file's owner) in your nib file by right-clicking it and see if there is no key "opstelling" being used there

0

精彩评论

暂无评论...
验证码 换一张
取 消