Thanks Jens,
I thought it was something like that.

On Dec 18, 2009, at 9:21 AM, Jens Alfke wrote:

> 
> On Dec 18, 2009, at 7:37 AM, Michael de Haan wrote:
> 
>> So, why would  one not simply use an NSMutableArray and simple add or delete 
>> model objects. I suspect part of the answer is that assigning a new array 
>> allows easier use of KVC but I am not sure as this is not specifically 
>> explained.
> 
> I haven't seen the code, but this is probably because of observing. It's more 
> work to send out KVO notifications when a mutable-array property is mutated; 
> you have to do it manually before and after the change, unless you use some 
> weird tricks using a fake proxy mutable array.
> 
> —Jens

_______________________________________________

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