Re: safe and efficient way tp duplicate NSMutable array
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