2015-10-31 26 views
-1

我有一個帶有許多對象的NSMUTABLEARRAY。我想改變這個mutable的indexkey的值和對象。在indexpath處更改Objectkey的值

這是我如何登錄我想改變

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

你是怎樣嘗試編輯呢? – Wain

+0

我不知道爲什麼問 –

回答

1

價值是可變的,從而只是改變它:

_arrayProdsCarrito[_intIndexProductoEnArray][@"price"] = 99.99; 
相關問題