更改索引路径中 Objectkey 的值

Change value of Objectkey at indexpath

我有一个包含许多对象的 NSMUTABLEARRAY。我想更改该可变对象的索引键中的值和对象。

这是我如何记录我想要更改的值

NSLog(@"%@", [[_arrayProdsCarrito objectAtIndex:_intIndexProductoEnArray] objectForKey:@"price"]);

它是可变的,所以只需更改它:

_arrayProdsCarrito[_intIndexProductoEnArray][@"price"] = 99.99;