Re: God, that's NOT THE WAY!!!! (was: Use -display INSTEAD of -setNeedsDisplay)
Re: God, that's NOT THE WAY!!!! (was: Use -display INSTEAD of -setNeedsDisplay)
- Subject: Re: God, that's NOT THE WAY!!!! (was: Use -display INSTEAD of -setNeedsDisplay)
- From: Christopher Lloyd <email@hidden>
- Date: Mon, 17 Dec 2001 13:12:27 -0500
I know I'm not supposed to post guesses, but my guess is that adding to
SlowView.m:
-(BOOL)isOpaque { return YES; }
Will produce better results. The default is NO.
Non-opaque views need to have their "background view" (opaqueAncestor)
redrawn which can involve redrawing other views sitting inside the same
background view.
Hope this helps,
Chris
At 11:36 AM 12/17/2001 -0600, you wrote:
The terrible performance resulting from use of -setNeedsDisplay: has been
reported.
Your bug report has been accepted and assigned Problem ID# :2830615.