Dimuth Lasantha Dimuth Lasantha - 6 months ago 22
Swift Question

Copy of NSDictionary to NSMutableDictionary

I need to know that how can i make a copy of

NSDictionary
to
NSMutableDictionary
and change values of there.

Edit

I ned to know how to modify data of a NSDictionary. I got to know that

Copy data of
NSDictionary
to a
NSMutableDictionary
. and then modify data in
NSMutableDictionary

Answer
let f : NSDictionary = NSDictionary() 
var g = f.mutableCopy()