• 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: Re: Customised NSCell leaves dirty traces while scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Customised NSCell leaves dirty traces while scrolling


  • Subject: Re: Re: Customised NSCell leaves dirty traces while scrolling
  • From: Josh Yu <email@hidden>
  • Date: Mon, 22 Nov 2010 11:00:13 +1100

> Try overriding NSCell - drawWithFrame:inView:
> IIRC this is called before - drawInteriorWithFrame:InView:

> The default implementation of - drawWithFrame:inView: is perhaps the source of your unwanted drawing.

> Regards

> Jonathan Mitchell

Thanks Jonathan for your reply. I've tried replacing
drawInteriorWithFrame with drawWithFrame and no luck :(

I however looked into my overriding on heightOfRow, which hands back a
calculated row height according to the variable heights of elements
placed inside. Forcing heightOfRow producing a fixed height for each
row seemed to have fixed the problem which is suggesting that there
might be flaws in my text rect calculating codes.

kjoika
_______________________________________________

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

  • Prev by Date: Re: Loading NSManagedObjects across NSManagedObjectContexts in an unsaved NSPersistentDocument
  • Next by Date: Re: Loading NSManagedObjects across NSManagedObjectContexts in an unsaved NSPersistentDocument
  • Previous by thread: Re: Customised NSCell leaves dirty traces while scrolling
  • Next by thread: Re: Customised NSCell leaves dirty traces while scrolling
  • Index(es):
    • Date
    • Thread