Live scrolling
Live scrolling
- Subject: Live scrolling
- From: Eric Long <email@hidden>
- Date: Tue, 16 Nov 2004 11:53:26 -0800
Hi,
May application displays large lists of file system items, often thousands
of items. The display is Finder-like, including the icons for items in the
list. Since there may be a very large number of items, II don't want to
cache the icons for all of these items. Instead, I obtain the icons for
items as required in order to draw them.
This works mostly very well, but not when the user is dragging the
knob/thumb to live scroll the list. Scrolling is noticeably inhibited by
the icon fetching. It appears that if I drag the knob a large distance
(relatively speaking) the table view wants to obtain the icon for every item
that would be displayed in the scroll distance, despite the fact that most
would just be a blur going by.
It seems to me that to speed things up I need to avoid the expensive hit of
fetching the icons for items that are just zooming by, and fill them in when
scrolling stops or slows down enough that there is no noticeable penalty.
Has anyone set up a system like that? Any thoughts about achieving it? Any
better ideas about speeding up live scrolling for this?
Thanks in advance,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden