Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'NSUnknownKeyException': this class is not key value coding-compliant for the key

I got this message:

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<FirstViewController 0x601b610> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key newCell.'

How do I solve it?

like image 771
MortadaAK Avatar asked Jan 29 '11 22:01

MortadaAK


1 Answers

That is generally due to deleting an IB object but forgetting to delete it's links.

IE deleting a UIScrollView but forgetting to delete how it used to link into UIView through an IBOutlet.

Had the same problem earlier today... found the answer here: http://www.iphonedevsdk.com/forum/iphone-sdk-development/47036-setvalue-forundefinedkey-class-not-key-value-coding-compliant-key.html

like image 127
Mytheral Avatar answered Oct 06 '22 00:10

Mytheral