• 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
NSScrollView with layer-backed subview - sync problems on resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSScrollView with layer-backed subview - sync problems on resize


  • Subject: NSScrollView with layer-backed subview - sync problems on resize
  • From: Lucas Gladding <email@hidden>
  • Date: Sun, 23 Mar 2008 23:51:49 -0400

I have been working with a layer-backed view hierarchy nested in an NSScrollView. The layer-backed view is backed by a CAScrollLayer (to get around the texture size limitation that causes the fade in effect on the layer-backed view). If I am scrolled to the top of the documentView in the NSScrollView, however, the view jumps by several pixels while resizing the NSScrollView. If setNeedsDisplay: is called, everything redraws and displays as intended. The problem is, the view always jumps before the setNeedsDisplay is called and the view always skips.

My question: does anyone have any recommendations about how to set up a large layer-backed view nested inside an NSScrollView (or something else to accomplish the same effect)? Also, has anyone else experienced the aforementioned problem?

If necessary, I can post a screencast showing the problem. Hopefully the problem mentioned above makes sense.

Thanks for your help

Luke Gladding
_______________________________________________

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


  • Prev by Date: Re: How to delay application quit?
  • Next by Date: Re: Synchronising across multiple NSUndoManager stacks
  • Previous by thread: Re: How do I disable this warning: "local declaration of 'varname' hides instance variable"
  • Next by thread: Rating-style LevelIndicator not showing dots
  • Index(es):
    • Date
    • Thread