妳可以新建壹個可變的字典,然後把不可變的字典裝進去.
NSDictionary *dic = [NSDictionary dictionaryWithObject:@"123" forKey:@"321"];
NSMutableDictionary *newdic = [NSMutableDictionary dictionaryWithDictionary:dic];