On 23/07/2012, at 9:57 PM, Andreas Grosam wrote:

> Thus, I need to define a deepCopy method for NSDictionary (and NSArray, too).


So, do that.

However, are you really sure? I remember thinking I needed this at one time and 
implemented a whole series of -deepCopy: methods in a variety of classes in a 
category on each. Works great, but in actual practice I think I used it once 
then figured out a better way to do what I wanted and no longer use this code, 
though it's still there if I ever do.

Don't worry about performance until you can prove it's not good enough.

--Graham


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to