Removed unneccessary NSKeyPathControl subclass

This commit is contained in:
Michael Starke
2018-09-11 14:59:05 +02:00
parent 2b694663e3
commit e887bdda93
8 changed files with 4 additions and 150 deletions

View File

@@ -53,21 +53,6 @@ NSInteger MPCustomFieldIndexFromTag(NSInteger tag) {
}
}
/*
- (CGFloat)tableView:(NSTableView *)tableView heightOfRow:(NSInteger)row {
static NSTextFieldCell *cell;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
cell = [[NSTextFieldCell alloc] init];
});
cell.stringValue = @"Mutli!";
NSTableColumn *column = tableView.tableColumns.firstObject;
NSRect frame = NSMakeRect(0, 0, column.width, CGFLOAT_MAX);
return [cell cellSizeForBounds:frame].height + 38;
}
*/
- (NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
MPCustomFieldTableCellView *view = [tableView makeViewWithIdentifier:@"SelectedCell" owner:tableView];