how to do true deep copy for NSArray and NSDictionary with have nested arrays/dictionary?
问题 Question: Is there a way to use existing objective-c methods to do a full deep copy of a NSDictionary or NSArray, that themselves have nested dictionaries or arrays within them? That is I have read the problem may be when it hits a nested dictionary or array it only copies the pointer to the nested item, and not copy the item truely. Background: So as an example for me I\'m trying to load/save the following config with NSUserDefaults and when loading need to convert the immutable copies one