On Jun 27, 2008, at 12:16 PM, Murray Bookchin wrote:

Thanks for your reply Ken,

You're welcome.

The way I'm modifying the content array is:
[myArrayController addObject:someDictionary];

And that is certainly using KVC, probably through - mutableArrayValueForKey:, to pass the modification on to your model. Therefore, everything I said in my previous message holds. And the solution to your performance problem is the same.

However, I suspect you're calling the above ([myArrayController addObject:someDictionary]) in a way that is ill-advised. If you're writing the implementation for a coordinating controller (search the docs for what that term means), then that controller should direct the model to change itself. The resultant model change notifications will then cause updates to any observers, including your mediating controller (myArrayController) and the views bound to it. Your coordinating controller should not effect model changes by calling one of the mediating controllers.

Cheers,
Ken
_______________________________________________

Cocoa-dev mailing list ([email protected])

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]

Reply via email to