RE: How to clone a mutable dictionary
RE: How to clone a mutable dictionary
- Subject: RE: How to clone a mutable dictionary
- From: Kirk Kerekes <email@hidden>
- Date: Fri, 24 Apr 2009 07:17:43 -0500
Simple, brute-force method: archive the dictionary, then unarchive it.
The result is a 1-line "deep copy".
Of course, that assumes that all the dictionary objects/keys support
archiving.
_______________________________________________
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