• 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: email@hidden
  • Date: Tue, 03 May 2016 15:08:48 -0400

On May 3, 2016, at 2:53 PM, Jens Alfke <email@hidden> wrote:

> No, because it eagerly creates a view for every item in the collection. So if you have a spreadsheet with 100,000 cells, it’s going to create 100,000 NSViews when the window opens.

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 will note that I found this by Matt Ball which looks interesting:

https://github.com/mattball/mbtablegrid/

While seven years old (and a bit glitchy) it does compile. Tommy van der Vorst forked it a while back and has updated it, so for anyone looking this is a great starting point. Well, actually pretty complete as it's used in a shipping product.

https://github.com/pixelspark/mbtablegrid

Cheers,
Demitri
_______________________________________________

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: Jens Alfke <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>)

  • 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