title: How to use NSTableView's selectedRowIndexes?
body: <p>I'm just learning some basic programming in Objective C and Cocoa. I'm trying to get some data from NSTableView. Based on what I read in one tutorial, I wrote this:</p>
  
  <pre><code>NSArray * items = [[itemsTableView selectedRowEnumerator] allObjects];
  </code></pre>
  
  <p>But then I learned that <code>selectedRowEnumerator</code> was deprecated already in 10.3 Panther and that I should use <code>selectedRowIndexes</code>.</p>
  
  <p>The problem is, I didn't find how to actually use the returned <code>NSIndexSet</code> to achieve the same result as with code written above.</p>
  
  <p>So, If anyone could give me a tip, I would be very grateful. Thanks.</p>