title: NSTableView delegate not working/not filling cells
body: <p>I have an NSTableView in my application, that I am loading data in after the user has typed a letter in an NSTextField. </p>
  
  <p>Here are my NSTableView delegate methods</p>
  
  <pre><code>-(NSInteger)numberOfRowsInTableView:(NSTableView *)tableView {
      NSLog(@"%lu rows!", (unsigned long)contactsArr.count);
      return contactsArr.count;
  }
  -(NSInteger)numberOfColumns:(NSTableView *)tableView {
      return 1;
  }
  
  -(NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
  {
  
      NSLog(@"filling tableview yo");
  
       NSTableCellView *result = [tableView makeViewWithIdentifier:tableColumn.identifier owner:self];
  
      NSButton *nameField = [result viewWithTag:10];
  
      NSButton *numberField = [result viewWithTag:20];
  
      ABPerson *indexedPerson = contactsArr[row];
  
      [nameField setStringValue:[NSString stringWithFormat:@"%@ %@",[indexedPerson valueForKey:kABFirstNameProperty]
                                 ,[indexedPerson valueForKey:kABLastNameProperty]]];
  
      [numberField setStringValue:[NSString stringWithFormat:@"%@",[indexedPerson valueForKey:kABPhoneProperty]]];
  
  
      if (result == nil) {
  
          result = [[NSTableCellView alloc] initWithFrame:CGRectMake(0, 0, 267, 52)];
  
          result.identifier = @"cell";
      }
  
      return result;
  
  }
  </code></pre>
  
  <p>I have checked that my delegate and datasource are both set to this class. I also made sure my outlet is setup. When the user inputs something in the keyboard I reset the NSMutableArray to the search results and I am logging the fact that there are in fact ABPerson objects in the array. The problem is that no cells are appearing on screen. The viewForTableColumn method only runs sometimes. reloadData does not work at all.</p>