Add code to handle Title property on NSTableColumn, add code to NSTableView to set the table view to _viewBased if it responds to tableView:viewForTableColumn:row:

This commit is contained in:
Gregory John Casamento 2024-04-18 02:54:03 -04:00
parent 8895bd0335
commit e55babb04e
3 changed files with 22 additions and 1 deletions

View file

@ -656,6 +656,16 @@ to YES. */
return _prototypeCellViews;
}
- (void) setTitle: (NSString *)title
{
[_headerCell setStringValue: title];
}
- (NSString *) title
{
return [_headerCell stringValue];
}
- (void) setValue: (id)anObject forKey: (NSString*)aKey
{
if ([aKey isEqual: NSValueBinding])