• 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
Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?


  • Subject: Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 03 May 2016 12:23:09 -0700

> On May 3, 2016, at 12:08 PM, email@hidden wrote:
>
> I should have been more specific - my understanding was that NSCollectionView from 10.11 onward did not do this... which Alex Kac just beat me to mentioning! I was curious if anyone was aware of limitations of this scope with that caveat.

I dunno — I have a Mac app using NSCollectionView, and before I sent my post, I experimentally added some logging to the -init method of the NSView subclass that draws the cells. I opened a window with a few hundred items (about four or five screenfuls) and saw that all of the views got initialized at the moment the window opened.

This is on 10.11.4, and I built the app with Xcode 7.3, so I should be getting whatever the latest behavior is.

Is there some particular way I have to configure the collection view to get the lazy-loading behavior?

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?
      • From: Alex Kac <email@hidden>
References: 
 >Yosemite NSCollectionView appropriate for spreadsheet-like view? (From: email@hidden)
 >Re: Yosemite NSCollectionView appropriate for spreadsheet-like view? (From: Jens Alfke <email@hidden>)
 >Re: Yosemite NSCollectionView appropriate for spreadsheet-like view? (From: email@hidden)

  • Prev by Date: Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?
  • Next by Date: Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?
  • Previous by thread: Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?
  • Next by thread: Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?
  • Index(es):
    • Date
    • Thread