[array objectAtIndex:i]
开发者_运维技巧 doesn't work as an L value, so it can't be used to set the object at index i.
Use -insertObject:atIndex:
or replaceObjectAtIndex:withObject:
.
[array objectAtIndex:i]
开发者_运维技巧 doesn't work as an L value, so it can't be used to set the object at index i.
Use -insertObject:atIndex:
or replaceObjectAtIndex:withObject:
.
精彩评论