On Tue, Feb 15, 2011 at 11:09 AM, Remco Poelstra <re...@beryllium.net> wrote: > Thanks for your reply. > The problem with this solution is that when I do a setValue:object > forKeyPath:@"preset0.parameter", and @"preset0" is the current preset, than > no KVO message is sent to observers observing the @"current" variant of the > keyPath. That would only happen, if they used the actual > @"current.parameters" keyPath. > Maybe KVO doesn't support this at all, I'm just hope it will :)
As long as -current and -preset0 return the same object, and that object is KVO-compliant for @"parameters", then observing @"current.parameters" and @"preset0.parameters" are equivalent. --Kyle Sluder _______________________________________________ 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