• 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
Any way to delay drawing after scrolling?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Any way to delay drawing after scrolling?


  • Subject: Any way to delay drawing after scrolling?
  • From: Steve Mills <email@hidden>
  • Date: Mon, 05 Aug 2013 12:12:25 -0500

We have a view subclass contained in an NSScrollView. After certain operations (such as changing the view scale) we need to change the scroll position, which we do via scrollPoint:, which in turn calls display on the view instead of setNeedsDisplay:YES (which makes sense for simply scroll events which might scroll some pixels and redraw others). We need other things to happen after we set the scroll position, and those things require a redraw as well. Having it draw twice is certainly not optimal. Is there any way to set the scroll position and NOT have it draw immediately?

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

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


  • Follow-Ups:
    • Re: Any way to delay drawing after scrolling?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: drawing outside the dirtyRect (of a NSView sub class) and overlapping NSTableView
  • Next by Date: Re: Any way to delay drawing after scrolling?
  • Previous by thread: Re: Checking if NSURL exists
  • Next by thread: Re: Any way to delay drawing after scrolling?
  • Index(es):
    • Date
    • Thread