mutableArrayValueForKey: truth or dare
mutableArrayValueForKey: truth or dare
- Subject: mutableArrayValueForKey: truth or dare
- From: Matt Neuburg <email@hidden>
- Date: Thu, 17 Jun 2010 09:47:46 -0700
- Thread-topic: mutableArrayValueForKey: truth or dare
There is an assertion often encountered in people's blogs, answers to
questions on forums, etc., that the proxy object provided by
mutableArrayValueForKey: is inefficient - in particular, that if you don't
also implement -countOfItems, -objectInItemsAtIndex:,
-insertObject:inItemsAtIndex:, and -removeObjectFromItemsAtIndex:,
then every change in the mutable array through the proxy replaces the whole
array. Is this true? Thx - m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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