• 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: Alexander Spohr <email@hidden>
  • Date: Fri, 12 Mar 2010 23:40:54 +0100

Am 12.03.2010 um 21:06 schrieb Eli Bach:

> On Mar 12, 2010, at 12:19 PM, Eli Bach wrote:
>
>> 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

This sounds like someone tries to SET the value. Not just to read it.
That might break.

>> 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.

Maybe you can not bind that way. I have more experience using KVC than KVO. KVC should work that way.

Sorry to have bothered you,

	atze


_______________________________________________

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: Eli Bach <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>)
 >Re: Use of KVC Array operators (From: Eli Bach <email@hidden>)

  • Prev by Date: Re: NSPredicateEditorRowTemplate and dynamic templateViews
  • Next by Date: Re: Key-Value Observing speed
  • Previous by thread: Re: Use of KVC Array operators
  • Next by thread: Re: Use of KVC Array operators
  • Index(es):
    • Date
    • Thread