Hi all,
I have NSMutableArray and used it like queue for waiting actions.
Example in array:
0: "Do something"
1: "Do something else"
2: "Do something 2"
When I used [myarray removeObjectAtIndex:0]
the array is not reordering and next time when I use [myarray objectAtIndex:o]
the result is nil
.
How can I put "Do something else" in the first index and "Do something 2" in the second index when I remove "Do something"?