• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to clone a mutable dictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to clone a mutable dictionary (From: Steve Cronin <email@hidden>)
 >Re: How to clone a mutable dictionary (From: Graham Cox <email@hidden>)
 >Re: How to clone a mutable dictionary (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Best technology to use for overlays?
  • Next by Date: NSPopUpButtonCell causes UI to "sleep" when clicked
  • Previous by thread: Re: How to clone a mutable dictionary
  • Next by thread: Re: How to clone a mutable dictionary
  • Index(es):
    • Date
    • Thread