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

Re: Using @count set operator with CoreData relationships raises exception?


  • Subject: Re: Using @count set operator with CoreData relationships raises exception?
  • From: "Marcus S. Zarra" <email@hidden>
  • Date: Tue, 26 Jul 2005 11:23:04 -0600

I have run into this same issue trying to bind directly in IB. To work
around it I created a method in the object that did a [self
valueFromKeyPath:] and returned the results.

I had assumed it was something I was doing wrong and did not have the time
at that point to investigate it further.

On 7/26/05, Jim Correia <email@hidden> wrote:
>
> 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
>
 _______________________________________________
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

References: 
 >Using @count set operator with CoreData relationships raises exception? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: _openRecentDocument undocumented?
  • Next by Date: Exception handling help
  • Previous by thread: Using @count set operator with CoreData relationships raises exception?
  • Next by thread: Exception handling help
  • Index(es):
    • Date
    • Thread