• 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: Disable implicit animations in layer backed NSScrollViews?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable implicit animations in layer backed NSScrollViews?


  • Subject: Re: Disable implicit animations in layer backed NSScrollViews?
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 20 Jun 2011 16:55:13 -0700

On Mon, Jun 20, 2011 at 3:52 PM, Daniel Waylonis <email@hidden> wrote:
> When I resize, the contents "jump" in the table view.  I believe it is because there's an implicit animation to move the bounds and/or position.  Or maybe something in the clip?  I'd also not like it to fade in if I toggle between layer-backed and not.

Make sure that in your implementation of -resizeWithOldSuperviewSize:
that you call super's implementation. This bit us for a long time, but
apparently that's one of the places where the layer glue fixes up the
layer's geometry to match the AppKit geometry. You need to do this
even if you have custom logic in this method that will completely
nullify what super did. You may need to wrap the call to super in a
CATransaction with +setDisableActions:YES.

rdar://problem/8659667

--Kyle Sluder
_______________________________________________

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

References: 
 >Disable implicit animations in layer backed NSScrollViews? (From: Daniel Waylonis <email@hidden>)

  • Prev by Date: Re: Progress Indicators Spin vs Bar
  • Next by Date: UIScrolview in only one direction at time
  • Previous by thread: Disable implicit animations in layer backed NSScrollViews?
  • Next by thread: Re: Disable implicit animations in layer backed NSScrollViews?
  • Index(es):
    • Date
    • Thread