• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Live scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Live scrolling
      • From: Sherm Pendley <email@hidden>
    • Re: Live scrolling
      • From: Guy English <email@hidden>
  • Prev by Date: Re: [Proposal] On-the-fly NIB localization
  • Next by Date: Re: Interpreting WebView Clicks
  • Previous by thread: Re: Inserting object in array after sorting
  • Next by thread: Re: Live scrolling
  • Index(es):
    • Date
    • Thread