Re: How to clone a mutable dictionary
Re: How to clone a mutable dictionary
- Subject: Re: How to clone a mutable dictionary
- From: Chris Suter <email@hidden>
- Date: Fri, 24 Apr 2009 22:39:49 +1000
Hi Graham,
On Fri, Apr 24, 2009 at 6:49 PM, Graham Cox <email@hidden> wrote:
> Incidentally this makes a very useful basic category on NSDictionary, one
> that every Cocoa programmer is likely to need sooner or later. Here's
mine:
[snip]
You could also use CFPropertyListCreateDeepCopy. Just remember to call
NSMakeCollectable on the result if you're using garbage collection.
Regards,
Chris
_______________________________________________
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