table view and custom cell optimization problem
table view and custom cell optimization problem
- Subject: table view and custom cell optimization problem
- From: Nick Rogers <email@hidden>
- Date: Thu, 03 Mar 2011 09:36:36 +0530
Hi,
I have a table view with the custom cell class assigned to its only column in awakeFromNib method using setDataCell:.
Then I'm doing some drawing in drawInteriorWithFrame: of the NSCell subclass.
The problem is that drawing include four lines of text and an image and a few lines using NSBezierPath.
This is relatively time consuming and hence when I scroll the table view, the scrolling is not that smooth and is a bit jerky.
Is there a way to do all this custom drawing in a manner that could make the scrolling faster.
Thanks,
Nick
_______________________________________________
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