Re: Disable implicit animations in layer backed NSScrollViews?
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 21:53:40 -0700
On Jun 20, 2011, at 9:47 PM, Daniel Waylonis <email@hidden> wrote:
> Hi Kyle,
>
> Thanks for the suggestion.
>
> Unfortunately:
>
> - (void)resizeWithOldSuperviewSize:(NSSize)oldSize {
> [CATransaction begin];
> [CATransaction setDisableActions:YES];
> [super resizeWithOldSuperviewSize:oldSize];
> [CATransaction commit];
> }
>
> is still exhibiting the jumpy behavior.
Does it only happen on live resize?
>
> Perhaps I'm not overriding the right action? I'm returning "[NSNull null]" for the "onLayout" key in my actionForLayer:forKey: method as well as setting the layer's actions to have [NSNull null] for: position, bounds, frame, hidden, sublayers, onLayout, anchorPoint, onOrderOut, onOrderIn.
>
> If you happen to have a sample that work for you, I'd really appreciate you sending it my way!
Unfortunately I'm about to board a plane for a week of vacation, so you might have better luck bringing this back on list.
I don't have any code handy, but we do have a public beta of OmniPlan 2 that has a custom view (not NSTableView) that has had all the kinks worked out of it. I might be forgetting another important fix we implemented.
--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