• 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
mutable deep copying?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mutable deep copying?


  • Subject: mutable deep copying?
  • From: Daryn <email@hidden>
  • Date: Sun, 28 Jul 2002 14:35:52 -0500

It seems that [myDict copy] results in a deep copy, while [myDict mutableCopy] results in a shallow, yet mutable, copy. What I need is a mutable deep copy of the dictionary.

My data structure is composed of simple dictionaries, arrays, and strings. Is there a simple method by which I may obtain a mutable copy of the entire data structure? Or do I need to implement my own protocol to do this?

Daryn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: mutable deep copying?
      • From: Greg Titus <email@hidden>
    • Re: mutable deep copying?
      • From: Andrew Pinski <email@hidden>
  • Prev by Date: Re: Serial number verification / obfuscation (was: Re: Hiding
  • Next by Date: Re: Serial number verification / obfuscation (was: Re: Hiding
  • Previous by thread: Re: Serial number verification / obfuscation (was: Re: Hiding
  • Next by thread: Re: mutable deep copying?
  • Index(es):
    • Date
    • Thread