问题
Are there any special methods to make swapping elements in an NSMutableArray easier or more direct?
回答1:
exchangeObjectAtIndex:withObjectAtIndex: does exactly this.
来源:https://stackoverflow.com/questions/3836387/swapping-elements-in-an-nsmutablearray