title: Unable to change NSTableHeaderCell font on El Capitan
body: <p>I'm developing a Cocoa App (OSX) and, in my tableview, I want to change the font of all of my columns.</p>
  
  <p>I'm using the cell-based version.</p>
  
  <p>Strangely, It is not possible to do it by using Interface Builder (IB). Each time, it forces me to use the font "System Small" !</p>
  
  <p>But, if I activate the "hidden" checkbox, It allows me to change the font! So stupid!</p>
  
  <p>So in my code (a derived class of NSTableView) I change the font of all my columns like that :</p>
  
  <pre><code>[ self.tableColumns forEachWithIndex:^( NSTableColumn * tableColumn, NSUInteger index, BOOL * stop )   {
      ...
      NSTableHeaderCell * tableHeaderCell = [ [ NSTableHeaderCell alloc ] initTextCell:@"TEST" ];
  tableHeaderCell.font = [ NSFont boldSystemFontOfSize:16 ];
  </code></pre>
  
  <p>[ tableColumn setHeaderCell:tableHeaderCell ];</p>
  
  <p>But, the font is always the small font on OSX El Capitan 10.11.4 :
  <a href="https://i.stack.imgur.com/twhkT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/twhkT.png" alt="Result on El Capitan"></a></p>
  
  <p>Whereas, the same code in Yosemite displays the correct font :</p>
  
  <p><a href="https://i.stack.imgur.com/7Mmdr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Mmdr.png" alt="Result on Yosemite"></a></p>
  
  <p>I don't understand why?</p>
  
  <p>Is there a specific thing to do in El Capitan with NSCell?</p>
  
  <p>Thanks for any help.</p>