FROM : Ben Chen
DATE : Wed Jan 16 23:07:31 2008
Hi everyone,
I just found that when scrolling a NSTableView inside a NSScrollView
one row at a time, each time the tableview will not only ask the data
source for the new row's value but also ask for the last row's. So if
you scroll the table all the way donw, eventually it makes twice calls
as the number of rows in the table.
I been programming a app that performance of the table view is vital,
so I really want the table view call the data source as few as
possible. Does anyone know a solution?
Thanks,
Ben
DATE : Wed Jan 16 23:07:31 2008
Hi everyone,
I just found that when scrolling a NSTableView inside a NSScrollView
one row at a time, each time the tableview will not only ask the data
source for the new row's value but also ask for the last row's. So if
you scroll the table all the way donw, eventually it makes twice calls
as the number of rows in the table.
I been programming a app that performance of the table view is vital,
so I really want the table view call the data source as few as
possible. Does anyone know a solution?
Thanks,
Ben






Cocoa mail archive

