I\'m getting the select items from a table view with:
NSIndexSet *selectedItems = [aTableView selectedRowIndexes];
what\'s the best way to
With swift you can do the following
extension NSIndexSet { func toArray() -> [Int] { var indexes:[Int] = []; self.enumerateIndexesUsingBlock { (index:Int, _) in indexes.append(index); } return indexes; } }
then you can do
selectedItems.toArray()