Re: Improving speed of NSCollectionView scrolling
Re: Improving speed of NSCollectionView scrolling
- Subject: Re: Improving speed of NSCollectionView scrolling
- From: Corbin Dunn <email@hidden>
- Date: Tue, 08 Dec 2009 16:31:59 -0800
On Dec 8, 2009, at 3:40 PM, PCWiz wrote:
> Hi,
>
> I am using NSCollectionView for a project in which the collection view is populated with about 200 items, each containing about 4 subviews (image view, and a few text fields).
You may want to consider using a different view. NSCollectionView does not do any special things for views that aren't visible, and you get one view for each item. So, in this case, you have at least 5 * 200 = 1000 views. That's a lot. Try IKImageBrowserView or NSTableView/NSOutlineView.
corbin
_______________________________________________
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