• 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: Unwanted Animations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unwanted Animations


  • Subject: Re: Unwanted Animations
  • From: Gordon Apple <email@hidden>
  • Date: Sun, 25 May 2014 13:09:14 -0500
  • Thread-topic: Unwanted Animations

Thanks, David. Overriding actionForKey to return nil for ³position² worked.
I also added ³frame² and ³bounds² for resizing.

Now, any opinions on the toolbar animation? I don¹t see any public API to
kill that in NSToolbar or NSWindow.


On 5/24/14 3:29 PM, "David Duncan" <email@hidden> wrote:

>
> 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


  • Follow-Ups:
    • Re: Unwanted Animations
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: Unwanted Animations (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Understanding ARC
  • Next by Date: Re: Unwanted Animations
  • Previous by thread: Re: Unwanted Animations
  • Next by thread: Re: Unwanted Animations
  • Index(es):
    • Date
    • Thread