• 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: Core Animation: performing a two-step animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Animation: performing a two-step animation


  • Subject: Re: Core Animation: performing a two-step animation
  • From: Heath Borders <email@hidden>
  • Date: Wed, 01 Jun 2011 22:25:06 -0500

Perform the second transform after the first animation completes in a
separate animation block.  You can start the second animation block
from the first animation block's completion block.

-Heath Borders
email@hidden
Twitter: heathborders
http://heath-tech.blogspot.com



On Wed, Jun 1, 2011 at 9:46 PM, Graham Cox <email@hidden> wrote:
> I'm new to Core Animation, so forgive me if I've missed something really obvious.
>
> I want to perform a 2-step animation of a layer's -transform, so it appears to expand then shrink back to end up slightly larger than it started out. I can easily do a 1-step animation by using a scaling transform, but setting it twice doesn't achieve the effect I want:
>
>
>
> myLayer.transform = CATransform3DMakeScale( 1.5, 1.5, 1.0 );
> myLayer.transform = CATransform3DMakeScale( 1.1, 1.1, 1.0 );
>
> Do I need to use a keyframe animation?
>
> --Graham
>
>
> _______________________________________________
>
> 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

References: 
 >Core Animation: performing a two-step animation (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: What is the point of a host-reachability test that doesn't test the reachability of the host?
  • Next by Date: Issue with NSRunLoop
  • Previous by thread: Core Animation: performing a two-step animation
  • Next by thread: Issue with NSRunLoop
  • Index(es):
    • Date
    • Thread