On 2010 Jun 17, at 12:21, Matt Neuburg wrote:

> My question is, does anyone have a *simple* approach to this common problem?

Not necessarily any simpler, but another technique which may be better than 
observing each object in some situations, (although not yours, without 
modification).  Implement custom setters for properties you want to observe, 
and in them check for value changes and post notifications.  Improve efficiency 
by coalescing.  Watch for infinite loops; posting styles can be helpful.

Not a good idea with NSMutableDictionary, though.  You'd need to use a custom 
class instead so you have some real setters.
_______________________________________________

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

Reply via email to