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
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com



On Wed, Jun 1, 2011 at 9:46 PM, Graham Cox <graham....@bigpond.com> 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 (Cocoa-dev@lists.apple.com)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/heath.borders%40gmail.com
>
> This email sent to heath.bord...@gmail.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to