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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to