• 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
table view and custom cell optimization problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: table view and custom cell optimization problem
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Truncating start and end of attributed string to show desired range.
  • Next by Date: Issue with NSthread
  • Previous by thread: Truncating start and end of attributed string to show desired range.
  • Next by thread: Re: table view and custom cell optimization problem
  • Index(es):
    • Date
    • Thread