title: How to use NSIndexSet
body: <p>In Objective-C, my program opens a window and displays a table.  I want to have a specified row of the table highlighted.</p>
  
  <p>How do I do this?</p>
  
  <p>I seem to need the code</p>
  
  <pre><code>[myTableView selectRowIndexes:(NSIndexSet *) byExtendingSelection:(BOOL)];
  </code></pre>
  
  <p>I looked at the developer documentation, and figured out that the BOOL should be NO.</p>
  
  <p>By looking at the NSIndexSet docs, I can't figure out what the right syntax should be.</p>