mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
formatting
This commit is contained in:
@@ -2454,12 +2454,12 @@ var colorForDisclosureTriangle = function(isSelected, isHighlighted)
|
||||
|
||||
- (id)outlineView:(CPOutlineView)outlineView objectValueForTableColumn:(CPTableColumn)tableColumn byItem:(id)item
|
||||
{
|
||||
var rep =[item respondsToSelector:@selector(representedObject)] ? [item representedObject] : item;
|
||||
|
||||
var rep = [item respondsToSelector:@selector(representedObject)] ? [item representedObject] : item;
|
||||
|
||||
// Dynamically fetch the value using the column's identifier (e.g., "name")
|
||||
if (rep && [tableColumn identifier] &&[tableColumn identifier] !== @"")
|
||||
if (rep && [tableColumn identifier] && [tableColumn identifier] !== @"")
|
||||
return [rep valueForKey:[tableColumn identifier]];
|
||||
|
||||
|
||||
return rep;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user