What is a Swift array equivalent to NSMutableArray\'s -removeObjectsAtIndexes:? Removing each index one by one doesn\'t work, as remaining indexes
NSMutableArray
-removeObjectsAtIndexes:
I needed this for working with a NSTableview. This is what I use.
extension Array{ mutating func removeElementsAtIndexes(indexset:NSIndexSet){ self = self.enumerate().filter({!indexset.containsIndex($0.index)}).map({$0.element}) } }