Core Data and @count keypath
Core Data and @count keypath
- Subject: Core Data and @count keypath
- From: GbT <email@hidden>
- Date: Tue, 7 Feb 2006 08:14:13 +0100
Hi,
I have a core data app with some entities, the entity A has a to-many
relationship with another entity B. I use an nstreecontroller for A
and want to display the number of records for the relationship A-->>B,
but if I put relationshipToB.@count in the model key path in the
bindings I obtain this message:
*** NSRunLoop ignoring exception '[<_NSFaultingMutableSet 0x3c5d30>
addObserver:forKeyPath:options:context:] is not supported. Key path:
@count' that raised during posting of delayed perform with target
37e980 and selector 'open:'
The selector open is related to the drawer... but the addObserver
thing isn't clear to me...
My entities are all subclassed by NSManagedObject.
Is there any doc that explains this simple question? I'm sure I'm
missing something important :)
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden