• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data and @count keypath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Core Data and @count keypath
      • From: "John R. Timmer" <email@hidden>
  • Prev by Date: NSTableColumn Bindings and italics
  • Next by Date: Re: Duplicate Address Book change notifications? (kABDatabaseChangedExternallyNotification)
  • Previous by thread: Re: NSTableColumn Bindings and italics
  • Next by thread: Re: Core Data and @count keypath
  • Index(es):
    • Date
    • Thread