R – Cocoa – Suggested techniques for debugging binding problems between Xcode and Interface Builder

cocoainterface-builderobjective c

I am working my way through the examples in Hillegass's book 'Cocoa programming for Mac OS-X'. There have been a couple of occasions when a sample application I have been working through starts up and I get a message such as :

2009-03-11 00:39:19.167 CarLot[7517:10b] Cannot create NSData from object <_NSControllerObjectProxy: 0x188bf0> of class _NSControllerObjectProxy

The only way I have found of solving an issue like this is to painstakingly go through all of the bindings and attributes in the interface builder to see where I have missed some configuration – which all takes time!

Is there any more efficient way to determine what the problem is from the error message? Are there any debugging techniques you can use to track down problems like these?

Best Answer

This Article talks very briefly about this.

Basically, it states that you can look in the Xib files to figure out a bit more quickly what bindings you have set in your app.

Hope that helps!