Re: NSMutableDictionary of NSMutableDictionary copy
Re: NSMutableDictionary of NSMutableDictionary copy
- Subject: Re: NSMutableDictionary of NSMutableDictionary copy
- From: Tamas Nagy <email@hidden>
- Date: Thu, 16 Jan 2014 09:03:25 +0100
Thanks! So, better to build a new dictionary with copy on each inner dictionary to achive a real non-mutable dictionary then.
On 16 Jan 2014, at 08:55, Jerry Krinock <email@hidden> wrote:
>
> On 2014 Jan 15, at 23:34, Tamas Nagy <email@hidden> wrote:
>
>> does a copy of the dictionary make the whole dictionary non-mutable, including the dictionaries in the deep?
>
> No, the deep dictionaries will remain mutable. -copy is shallow.
>
>
> _______________________________________________
>
> 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
_______________________________________________
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