Re: ARC Extending Lifetime of Objects
Re: ARC Extending Lifetime of Objects
- Subject: Re: ARC Extending Lifetime of Objects
- From: Graham Cox <email@hidden>
- Date: Mon, 23 Jul 2012 23:01:07 +1000
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@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