Re: Improving speed of NSCollectionView scrolling
Re: Improving speed of NSCollectionView scrolling
- Subject: Re: Improving speed of NSCollectionView scrolling
- From: PCWiz <email@hidden>
- Date: Tue, 8 Dec 2009 16:57:29 -0700
Sorry I'm new to Obj-C/Cocoa, how would I do this performance profiling?
On 2009-12-08, at 4:50 PM, Mike Abdullah wrote:
>
> On 8 Dec 2009, at 23:40, 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).
>>
>> Scrolling is not smooth at all, and lags quite a bit. I'm wondering, would just drawing the text and images as part of the view in the prototype views drawRect method yield any increase in smoothness, rather than using subviews?
>
> Why are you asking us this now? It sounds like you haven't done any performance profiling to find out what's actually slow. Do that and then come back.
>
> If it suits your needs, IKImageBrowserView is somewhat faster than NSCollectionView.
_______________________________________________
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