title: How to change NSTextField text color on row selection?
body: <p>For cocoa, I have an <strong>NSTableView</strong> set to be view based. When a row is selected, the text fields change their color to white. How do I keep it black?</p>
  
  <p>I should also note that the Highlight is set to Source List (it does the same thing on Regular).
  <img src="https://i.stack.imgur.com/oLoGt.png" alt="Highlight Setting"></p>
  
  <p>Unselected row <img src="https://i.stack.imgur.com/BuDJt.png" alt="Unselected"></p>
  
  <p>Selected Row <img src="https://i.stack.imgur.com/3GzIV.png" alt="Selected Row"></p>
  
  <p>I was hoping for something similar to the state config for iOS:</p>
  
  <p><img src="https://i.stack.imgur.com/ODV5o.png" alt="enter image description here"></p>
  
  <p>This was suggested in WWDC 2011 Session 120 but it's a bit delayed so I'm not going to use it. It may work for someone else though.</p>
  
  <pre><code>- (void)tableViewSelectionDidChange:(NSNotification *)notification
  {
      [tableView enumerateAvailableRowViewsUsingBlock:^(NSTableRowView *rowView, NSInteger row){
          NSTableCellView *cellView = [rowView viewAtColumn:0];
          if(rowView.selected){
              cellView.textField.font = [NSFont boldSystemFontOfSize:14];
          }else{
              cellView.textField.font = [NSFont systemFontOfSize:14];
          }
      }];
  }
  </code></pre>