• 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: safe and efficient way tp duplicate NSMutable array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: safe and efficient way tp duplicate NSMutable array


  • Subject: Re: safe and efficient way tp duplicate NSMutable array
  • From: "stephen joseph butler" <email@hidden>
  • Date: Tue, 17 Apr 2007 19:58:44 -0500

On 4/17/07, Jay <email@hidden> wrote:
Thanks for your reply, but what I intended to do is to get the data
duplicated as well, so in that case, I have to do everything manually? I
need to do this just because I need to keep the original data and modify the
new copy of it.

If everything is a property list type (Dictionary, String, Number, Array, Data, Date) then you can use CFPropertyListCreateDeepCopy:

<http://developer.apple.com/documentation/CoreFoundation/Reference/CFPropertyListRef/Reference/reference.html#//apple_ref/doc/uid/20001210-CH1g-F14162>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >safe and efficient way tp duplicate NSMutable array (From: "Jay" <email@hidden>)
 >Re: safe and efficient way tp duplicate NSMutable array (From: Chris Hanson <email@hidden>)
 >Re: safe and efficient way tp duplicate NSMutable array (From: "Jay" <email@hidden>)

  • Prev by Date: Re: safe and efficient way tp duplicate NSMutable array
  • Next by Date: Re: Global variable for whole application.
  • Previous by thread: Re: safe and efficient way tp duplicate NSMutable array
  • Next by thread: Re: safe and efficient way tp duplicate NSMutable array
  • Index(es):
    • Date
    • Thread