Re: Unwanted Animations
Re: Unwanted Animations
- Subject: Re: Unwanted Animations
- From: David Duncan <email@hidden>
- Date: Sat, 24 May 2014 13:29:59 -0700
On May 24, 2014, at 10:02 AM, Gordon Apple <email@hidden> wrote:
> Two separate issues:
>
> 1. CALayer Animation. I have a movie sublayer which has an observer to
> track an underlying draw object¹s bounds. When dragging the object, the
> movie layer position lags. I¹ve tried ³removeAnimationForKey:@²position²,
> and ³removeAllAnimations² when creating the layer. I¹ve also tried the
> latter, and ³[superlayer removeAllAnimations]² in the observer. Nothing
> works. How do I kill that animation?
For ways to kill it permanently for a given layer, see the docs on -[CALayer actionForKey:].
For one-off type disables, see -[CATransaction setDisableActions:]
> 2. Toolbar animation. I have a window, sometimes used for screen capture.
> When the user toggles the toolbar, I readjust the window position to keep
> its content within the set capture rect. (Changing the capture rect will
> kill any recording.) It works, but the toolbar animates, then jerks to the
> correct position. Is there any way to kill toolbar animation?
>
> _______________________________________________
>
> 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
--
David Duncan
_______________________________________________
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