• 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: Use of KVC Array operators
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of KVC Array operators


  • Subject: Re: Use of KVC Array operators
  • From: Eli Bach <email@hidden>
  • Date: Fri, 12 Mar 2010 13:06:15 -0700

On Mar 12, 2010, at 12:19 PM, Eli Bach wrote:

>
> On Mar 12, 2010, at 9:58 AM, Alexander Spohr wrote:
>
>>
>> what is your understanding of KVC?
>
> That it wouldn't do this merging of set's automatically.
>
> And I did just try it, and got a binding error:
>
> Cocoa Bindings: Error setting value for bound property instanceOfA of object <controllerclass: 0x100675780>: [<_NSFaultingMutableSet 0x1006eab90> addObserver:forKeyPath:options:context:] is not supported. Key path: relationC
>
> I figured it would be something like this, which is why I was looking at the @unionOfSets operator in particular (as that's exactly what this is, a union of all sets of relationC objects from a set of relationB objects.

And to follow up, I tried both

email@hiddenionC

and

email@hiddenionC

and as an NSArrayControllers array binding [as the documentation says that @unionOfSets returns an array], and both resulted in a binding error at runtime.

Eli

_______________________________________________

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

  • Follow-Ups:
    • Re: Use of KVC Array operators
      • From: Alexander Spohr <email@hidden>
References: 
 >Use of KVC Array operators (From: Eli Bach <email@hidden>)
 >Re: Use of KVC Array operators (From: Alexander Spohr <email@hidden>)
 >Re: Use of KVC Array operators (From: Eli Bach <email@hidden>)
 >Re: Use of KVC Array operators (From: Alexander Spohr <email@hidden>)
 >Re: Use of KVC Array operators (From: Eli Bach <email@hidden>)

  • Prev by Date: Re: Better sorting using threads?
  • Next by Date: Re: Better sorting using threads?
  • Previous by thread: Re: Use of KVC Array operators
  • Next by thread: Re: Use of KVC Array operators
  • Index(es):
    • Date
    • Thread