“[something copyWithZone:]: unrecognized selector sent to instance” when using Bindings / Core Data?

Turns out ALL the above are needed to trigger this, and XCode is allowing you to do something that's wrong in 99.9% of situations, if not 100% Core-Data objects cannot implement copyWithZone: - this causes the crash When a tableview is populated using Bindings, it tries to copy the values of the objects in the NSArrayController to render each Column but if you fail to specify the Column binding fully (Xcode allows you to half specify it), then tableview tries the "copy" on the objects instead of their values The bug in my bindings: I had specified that a Table Column had a "value" with: Controller Key = "arrangedObjects" Model Key Path = (blank) (this is a bug in XCode4 autocomplete - it will delete the ModelKeyPath field sometimes when you tab away too quickly) Finish typing-in the binding, e.g. : Model Key Path = "value and everything works again.

Turns out ALL the above are needed to trigger this, and XCode is allowing you to do something that's wrong in 99.9% of situations, if not 100%. Core-Data objects cannot implement copyWithZone: - this causes the crash When a tableview is populated using Bindings, it tries to copy the values of the objects in the NSArrayController to render each Column ...but if you fail to specify the Column binding fully (Xcode allows you to half specify it), then tableview tries the "copy" on the objects instead of their values The bug in my bindings: I had specified that a Table Column had a "value" with: Controller Key = "arrangedObjects" Model Key Path = (blank) (this is a bug in XCode4 autocomplete - it will delete the ModelKeyPath field sometimes when you tab away too quickly) Finish typing-in the binding, e.g. : Model Key Path = "value" ...and everything works again.

Probably a newbie mistake, but it meant walking through EVERY object and checking for bindings and I came across this one.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions