discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView and data cell formatter


From: Matt Rice
Subject: Re: NSTableView and data cell formatter
Date: Sat, 21 Feb 2015 10:32:50 -0800

On Sat, Feb 21, 2015 at 7:54 AM, Fred Kiefer <fredkiefer@gmx.de> wrote:

> What I still don't understand is why a copy of the cell gets used in the 
> first place.

my guess would be that the copying comes from here

- (void) _trackCellAtColumn: (NSInteger) columnIndex
 row: (NSInteger) rowIndex

...

/* we should copy the cell here, as we do on editing.
 otherwise validation on a cell being edited could
cause the cell we are selecting to get it's objectValue */
 NSCell *cell = [[self preparedCellAtColumn: columnIndex row: rowIndex] copy];



reply via email to

[Prev in Thread] Current Thread [Next in Thread]