• 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: Animate NSWindow frame using Core Animation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Animate NSWindow frame using Core Animation?


  • Subject: Re: Animate NSWindow frame using Core Animation?
  • From: Mike Abdullah <email@hidden>
  • Date: Fri, 16 Jul 2010 11:28:25 +0100

Aside from Core Animation, you could also try -setFrame:display:animate:

It blocks the main thread while running, but is generally pretty smooth.

On 16 Jul 2010, at 10:55, Oleg Krupnov wrote:

> Hi,
>
> I'm using quite a few animations in my app's UI, using the Core
> Animation, and all of the animations work wonderfully smooth and
> quick.
>
> However, when I need to animate the frame of the window (namely,
> change its size), it feels so sluggish and jagged.
>
> I guess this is because, unlike the views inside the window, the
> window itself is not using Core Animation under the hood, but some
> "usual" Quartz drawing.
>
> So the question is, is there a way to make the NSWindow also use Core
> Animation when animating the change of its size or position?
>
> So far I have tried NSViewAnimation, [NSWindow animator] proxy and
> even explicitly added CAAnimations to the proxy, but it all seems to
> result in the same sluggish animation.
>
> Thanks,
>
> Oleg.
> _______________________________________________
>
> 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

_______________________________________________

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: Animate NSWindow frame using Core Animation?
      • From: Oleg Krupnov <email@hidden>
References: 
 >Animate NSWindow frame using Core Animation? (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: Animate NSWindow frame using Core Animation?
  • Next by Date: Re: Animate NSWindow frame using Core Animation?
  • Previous by thread: Animate NSWindow frame using Core Animation?
  • Next by thread: Re: Animate NSWindow frame using Core Animation?
  • Index(es):
    • Date
    • Thread