• 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: Improving speed of NSCollectionView scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Improving speed of NSCollectionView scrolling
      • From: PCWiz <email@hidden>
References: 
 >Improving speed of NSCollectionView scrolling (From: PCWiz <email@hidden>)

  • Prev by Date: Re: Improving speed of NSCollectionView scrolling
  • Next by Date: Re: odd problems with NSData / OpenGL
  • Previous by thread: Re: Improving speed of NSCollectionView scrolling
  • Next by thread: Re: Improving speed of NSCollectionView scrolling
  • Index(es):
    • Date
    • Thread