title: How to make reuse cells in NSTableView?
body: <p>I have a <code>NSTableView</code> with 10 cells. They are all the same cells and I want to reuse them, however I can't seem to get the table view to do so. </p>
  
  <p>Currently, each time a new cell is needed, the delegate cannot seem to find the previous cell with the same identifier and has to recreate it. </p>
  
  <p>Below is my code, any suggestions on what I might be doing wrong?</p>
  
  <pre><code>- (NSInteger)numberOfRowsInTableView:(NSTableView *)aTableView
  {
      return 10;
  }
  
  
  - (NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
  {
      static NSString *cellIdentifier = @"Name";
  
      NSTableCellView *cellView = [tableView makeViewWithIdentifier:cellIdentifier owner:self];
  
      if (cellView == nil)
      {
          NSLog(@"A cell");
          NSRect cellFrame = [_scrollView.contentView bounds];
          cellFrame.size.height = 65;
  
          cellView = [[NSTableCellView alloc] initWithFrame:cellFrame];
          [cellView setIdentifier:cellIdentifier];
      }
  
      return cellView;
  }
  </code></pre>