I have NSMutableArray. There are for example such objects: 0, 1, 2.
How can I replace object 0 into index where object 2. In result I want array with objects: 1, 2, 0. Thanks.
I have NSMutableArray . There are for example such objects: 0, 1, 2. How
Share
@trojanfoe, there is a simple mistake in your answer.
The first line of the code does not return anything as per doc. So it should be,