On Apr 16, 2008, at 22:54, William Towe wrote:
To achieve this I bound the table view's contentArray binding to
controller key "selection" and model key path:
"@unionOfArrays.allDescendantsNodes". The allDescendantNodes method
in my
file node class returns an array with all its descendants in it as
well as
itself.
Simply returning a value from the allDescendantNodes method does not
make your object KVO compliant for the "allDescendantNodes" property,
so the question is: what (if anything) are you doing to make it KVO
compliant? Specifically, when you insert child nodes, do you call
[self willChangeValueForKey:@"allDescendantNodes"] and [self
didChangeValueForKey:@"allDescendantNodes"], or something with the
same effect?
_______________________________________________
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 [EMAIL PROTECTED]