i got an array in every element of this array is a dictionary and every dictionary there are some arrays.
it's like that
[ { [ ] }, { [ ] } ]
this is the schema i got from a server response.
here's my problem , when i try to change something i got
[__NSCFDictionary setObject:forKey:]: mutating method sent to immutable object
so what's the best approach for this ? i need to loop through all items to make them mutable? or is there any other method? because when i call mutable copy
method , it just convert the outer layer to mutable.
any help will be appreciated..