Re: Binding problem with core data
Re: Binding problem with core data
- Subject: Re: Binding problem with core data
- From: Quincey Morris <email@hidden>
- Date: Wed, 30 Jan 2013 23:23:05 -0800
On Jan 30, 2013, at 22:41 , Velocityboy <email@hidden> wrote:
> I see two bizarre behaviors: when I change the Category value with the popup button cell in one row, Category values in other rows change. When I change the subcategory, I get an exception:
>
> 2013-01-30 22:32:23.192 Testapp[10506:f03] -[_NSFaultingMutableSet objectAtIndex:]: unrecognized selector sent to instance 0x101d5dfd0
A NSArray selector is being sent to a NSSet object. That suggests you've forgotten to set the NSArrayController into "entity" mode, which is necessary for a Core Data property, which is modeled as a set rather than an array.
In "class" mode, the array controller expects its content to be an array; in "entity" mode, it expects the content to be a set.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden