Re: Why is NSTableView scrolling in Cocoa apps so slow?
Re: Why is NSTableView scrolling in Cocoa apps so slow?
- Subject: Re: Why is NSTableView scrolling in Cocoa apps so slow?
- From: Andreas Monitzer <email@hidden>
- Date: Wed, 5 Sep 2001 14:24:12 +0200
On Wednesday, September 5, 2001, at 02:08 , Henk Kampman wrote:
To get started with Cocoa I decided to port an existing Powerplant
application.
Everthing works fine but thumb scrolling speed is incredibly slow compared
to the Carbon Powerplant version running on MacOSX.
Even a simple NSTableView with 1 column and static data scrolls slowly!
It looks as if the actual displayed content has little effect on the
performance so there must be something else going on.
On scroll, NSTableView permanently polls the data source for getting
information (count, item at line x). Maybe that method is too slow.
andy
--
Discussion forthcoming.