Re: Yosemite NSCollectionView appropriate for spreadsheet-like view?
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