is have this animation block with both Enlarge and Rotate, but only
one work properly (the last one listed). what is the proper way to
group the two transforms together:
-=-=-=-
//Animation Block
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
[UIView setAnimationDelegate:self];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
CGAffineTransform enlarge = CGAffineTransformMakeScale(1.5, 1.5);
CGAffineTransform rotate = CGAffineTransformMakeRotation(3.14 / 2);
square.transform = enlarge;
square.transform = rotate;
[UIView commitAnimations];
-=-=-=-
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]