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

Re: Customised NSCell leaves dirty traces while scrolling


  • Subject: Re: Customised NSCell leaves dirty traces while scrolling
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 21 Nov 2010 10:22:19 +0000

On 20 Nov 2010, at 07:24, Josh Yu wrote:

>
>
> A call to NSTableView setNeedsDisplay:YES will always solve the
> problem however too inefficient.
>
> Can anyone please suggest if there's anything might be done to fix that up?
>
> kjoika
> _______________________________________________
>

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

Developer
Mugginsoft LLP
http://www.mugginsoft.com_______________________________________________

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

References: 
 >Customised NSCell leaves dirty traces while scrolling (From: Josh Yu <email@hidden>)

  • Prev by Date: Re: Help with Basics (Was: help with bindings)
  • Next by Date: Re: NSExpression is incorrect?
  • Previous by thread: Customised NSCell leaves dirty traces while scrolling
  • Next by thread: Re: Re: Customised NSCell leaves dirty traces while scrolling
  • Index(es):
    • Date
    • Thread