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 > > instanceo...@unionofsets.relationb.relationc > > and > > instanceofa.relatio...@unionofsets.relationc > > 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com