Question

Trying to wrap my head around cocoa bindings can't determine the reason for this error

I Have a simple app, in which, the app delegate passes the Managedobjectcontext to Window Controller, which passes it to a view controller. The nib associated with view is a viewbased table with array controller.

I initiated a few managed objects in the app delegate, when I run the application the table is populated with the objects however the following error is thrown

[_NSControllerArrayProxy firstIndex]: unrecognized selector sent to instance 0x100165510

Since there is very little code, not sure how to debug this

Was it helpful?

Solution

Thanks Anoop, your second link solved my problem I had the controller key for Selection indexes set to arrangedObjects, I changed this to selectionIndexes and all is working.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top