Your array most likely contains only NSDictionary
instances, not NSMutableDictionary
instances, therefore you can't modify them. If you send NSJSONReadingMutableContainers
to your JSONObjectWithDataCall
you should get back mutable objects.
self.vocabs = [NSJSONSerialization JSONObjectWithData:data options: NSJSONReadingMutableContainers error:nil];