this class is not key value coding-compliant for the key XXXXXX

Can’t be sure if this is what’s happening in your case, but you’ll commonly see this message if you have a connection set up in your nibs to assign an object to a property of another object, but the property is missing on the target object.

So you might have had an IBOutlet named aproposViewController on LoadingViewController at one point, connected another view controller to it in the nib, and then removed the IBOutlet but neglected to remove the connection in the nib.

So when the nib is loaded, it tries to set the property, only to find it doesn’t exist, hence:

reason: '[<LoadingViewController 0x6b2c5a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key aproposViewController.'

Leave a Comment