-(id)tableView:objectValueForTableColumn:row:
should just return the string, not the cell.
- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
if ([[[tableColumn headerCell] stringValue] isEqualToString:@"Title"]) {
NSLog(@"%@", [[array objectAtIndex:row] objectForKey:@"text"]);
return @"Cell";
}
}