Optimizing Drawing (was Re: Drawing onto NSImageView subclass (Newbie))
Optimizing Drawing (was Re: Drawing onto NSImageView subclass (Newbie))
- Subject: Optimizing Drawing (was Re: Drawing onto NSImageView subclass (Newbie))
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 8 Feb 2004 23:02:01 -0800
On Feb 8, 2004, at 10:06 PM, Andreas Mayer wrote:
difference I believe, just a best/common practice issue.
From what I know it can make a difference. If you want the view to
redraw, just send it setNeedsDisplay: or setNeedsDisplayInRect:.
setNeedsDisplayInRect: is better, particularly on Panther, but see new
Tech Note:
<
http://developer.apple.com/technotes/tn2002/tn2107.html>
"Working around Incorrect -needsToDrawRect: Behavior in Custom View
Classes"
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.