56

Are there any special methods to make swapping elements in an NSMutableArray easier or more direct?

node ninja
  • 31,796
  • 59
  • 166
  • 254

1 Answers1

143

exchangeObjectAtIndex:withObjectAtIndex: does exactly this.

Kris Markel
  • 12,142
  • 3
  • 43
  • 40