• 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
Using @count set operator with CoreData relationships raises exception?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using @count set operator with CoreData relationships raises exception?


  • Subject: Using @count set operator with CoreData relationships raises exception?
  • From: Jim Correia <email@hidden>
  • Date: Tue, 26 Jul 2005 12:25:27 -0400

Am I missing something obvious here? In the CoreRecipes sample, I've bound a text field's display pattern value to the source tree controller, selection - items.@count.

At runtime I get this error:

2005-07-26 12:21:25.245 CoreRecipes[28655] [<NSCFSet 0x5d034f0> addObserver:forKeyPath:options:context:] is not supported. Key path: @count


(In my own app, I get the same error but it is a faulting set raising the exception.)


What have I done wrong? Can I do this "purely" with bindings and operators, or must I bind to a summaryString property which is generated by code?

Thanks,
Jim
_______________________________________________
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: Using @count set operator with CoreData relationships raises exception?
      • From: "Marcus S. Zarra" <email@hidden>
  • Prev by Date: Re: Localized number formatting
  • Next by Date: Re: Can I use resource in cocoa library?
  • Previous by thread: Re: NSTreeController drag and drop woes
  • Next by thread: Re: Using @count set operator with CoreData relationships raises exception?
  • Index(es):
    • Date
    • Thread