On Mar 10, 2010, at 12:35 PM, Mazen M. Abdel-Rahman wrote: > I had another question about core animation. I am trying to animate my > view's frame size so that it gets smaller - and then in the same animation > goes back to the same size. I was able to get it to succesfully animate to a > smaller size - but am having difficulty with getting to work using > CAKeyFrameAnimation. I tried doing it in a group - but when I try to change > the alpha value nothing happens to the frame size. I tried to follow some > examples Apple had - but to no avail. The view that I am calling this code > on is layer backed (set in interface builder).
The frame is not real, it is a property derived from the position, bounds.size, transform and anchorPoint properties. If you want to animate the "frame" of a layer, then you need to animate the position and bounds.size instead. -- David Duncan Apple DTS Animation and Printing _______________________________________________ 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]
