Re: KVC and KVO for arrays
Re: KVC and KVO for arrays
- Subject: Re: KVC and KVO for arrays
- From: mmalc crawford <email@hidden>
- Date: Wed, 13 Feb 2008 07:34:26 -0800
On Feb 13, 2008, at 6:37 AM, Adam P Jenkins wrote:
Ah, you're correct. But my basic point still is correct, that you
do not need to subclass NSMutableArray or implement indexed
accessors yourself. You can just use the mutableArray* and
mutableSet* methods to have Cocoa do the work for you.
Again no. In the typical case, you *should* implement the indexed
accessors, otherwise you end up replacing the whole array/set each
time you make a change, which is extremely inefficient.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden