CollectionView icon indicating copy to clipboard operation
CollectionView copied to clipboard

[Feature request] Prefetch cells before display. Like NSCollectionView prefetchDataSource.

Open xjbeta opened this issue 6 years ago • 1 comments

https://developer.apple.com/documentation/appkit/nscollectionviewprefetching It's useful for load data like large images.

xjbeta avatar Dec 12 '18 04:12 xjbeta

I did explore something like this a while back, using the built in "overdraw" features of NSScrollView, but it wasn't very clean and bogged things down. Thinking on it again though, I wonder if the issue was trying to pre-load the cells and add them to the scroll view. Maybe preparing the cells and holding onto them for future layout passes would be the better option 🤔. But it's not quite that straight forward to determine when to prepare and how long you should hold onto those cells, what if you scroll the other way?

WCByrne avatar Jan 03 '19 20:01 WCByrne