문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top