I have a array (dataArray) of NSDictionary \"item\". It has datas like \"david\" for key \"name\" and \"85\" for key \"marks\" etc for 5 students. I want to replace the mark
// NSDictionary *dict = ... NSMutableDictionary *mutableDict = [dict mutableCopy]; [mutableDict setObject:@"myObject" forKey:@"myKey"]; dict = [mutableDict mutableCopy];
I hope it helps