I have an NSMutableDictionary
each element of which is another dictionary. What is the best way I can copy its contents into another NSMutableDictionary
? I've tried using:
firstDictionary = [NSMutableDictionary dictionaryWithDictionary:secondDictionary];
However not sure if this is the best way to do it.