• 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: God, that's NOT THE WAY!!!! (was: Use -display INSTEAD of -setNeedsDisplay)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: isOpaque (was: Use -display INSTEAD)
      • From: rsharp <email@hidden>
  • Prev by Date: Re: Drawer: drag-n-drop destination?
  • Next by Date: Re: isOpaque (was: Use -display INSTEAD)
  • Previous by thread: Re: Sending a paste event to another app?
  • Next by thread: Re: isOpaque (was: Use -display INSTEAD)
  • Index(es):
    • Date
    • Thread