Cleanup setValue:forKey: and valueForKey:

This commit is contained in:
Gregory John Casamento 2024-10-11 14:59:04 -04:00
parent c3146bae6b
commit 664fdada0c

View file

@ -3777,35 +3777,6 @@ static BOOL browserUseBezels;
[self loadColumnZero];
NSDebugLLog(@"NSBinding", @"Setting browser view content values to %@", anObject);
}
else if ([aKey isEqual: NSSelectionIndexesBinding])
{
/*
if (_selectingColumns)
{
if (nil == anObject)
{
// [self _unselectAllColumns];
}
else
{
return [self selectColumnIndexes: anObject
byExtendingSelection: NO];
}
}
else
{
if (nil == anObject)
{
[self _unselectAllRows];
}
else
{
return [self selectRowIndexes: anObject
byExtendingSelection: NO];
}
}
*/
}
else
{
[super setValue: anObject forKey: aKey];
@ -3822,20 +3793,6 @@ static BOOL browserUseBezels;
{
return nil;
}
else if ([aKey isEqual: NSSelectionIndexesBinding])
{
/*
if (_selectingColumns)
{
return nil; // [self selectedColumnIndexes];
}
else
{
return nil; // [self selectedRowIndexes];
}
*/
return nil; // temporary...
}
else
{
return [super valueForKey: aKey];