I have a number of objects in a table-view that rotate order after a button is pressed (object 0 becomes object @ end, object 1 becomes object 0 etc). I have this working now by having an index that carries the current index for the top of the queue, and programmatically get the object at 'i' according to the starting index. It is working fine, the order changes as I want. But I was looking at the indexpath class and it occurred to me that I may be able to modify the indexPath to achieve this same goal. And it may come in handy when I want to allow the user to reorder the objects. I looked it up online and it the results are vague. I wanted to see if this method was worth pursuing.
P.S. I do not want to use a picker.
P.S. I do not want to use a picker.