Top "Core-animation" questions

Core Animation is Apple's framework for performing hardware-accelerated animation of display elements on the Mac and iOS devices.

How can I create an CABasicAnimation for multiple properties?

I have this code to animate a CALayer element. CABasicAnimation *makeBiggerAnim=[CABasicAnimation animationWithKeyPath:@"radius"]; makeBiggerAnim.duration=0.2; makeBiggerAnim.fromValue=[NSNumber numberWithDouble:20.0]; …

ios animation core-animation caanimation
(Scale) Zoom into a UIView at a point

Something I don't understand about transformations. I want to zoom in to say the top right corner of a UIView (…

iphone ios core-animation quartz-graphics cgaffinetransform
How to make my UIBezierPath animated with CAShapeLayer?

I'm trying to animate a UIBezierPath and I've installed a CAShapeLayer to try to do it. Unfortunately the animation isn't …

ios core-animation cashapelayer
Restoring animation where it left off when app resumes from background

I have an endlessly looping CABasicAnimation of a repeating image tile in my view: a = [CABasicAnimation animationWithKeyPath:@"position"]; a.timingFunction = […

ios core-animation
Display an image or UIImage with a plain CALayer

I've often read that using a CALayer rather than a UIImageView is an performance boost when it comes to heavy …

ios iphone performance uiimage core-animation
How to crossfade between 2 images on iPhone using Core Animation

I'm doing this to learn how to work with Core Animation animatable properties on iPhone (not to learn how to …

iphone core-animation
Can I use CGAffineTransformMakeRotation to rotate a view more than 360 degrees?

I'm writing an iPhone app, and I've got an image which I'ld like to have swirl outwards. Currently my code …

iphone cocoa-touch core-animation core-graphics
UIView animateWithDuration doesn't animate cornerRadius variation

I'm trying to animate the change of the cornerRadius of a UIView instance layer, but the variation of the cornerRadius …

ios uiview core-animation uiviewanimation cornerradius
How to change CAGradientLayer color points?

Right now I've got a GA Gradient layer where I've set the colors but I'd like to set the color …

ios core-animation cagradientlayer
How do you explicitly animate a CALayer's backgroundColor?

I'm trying to construct a CABasicAnimation to animate the backgroundColor property of a Core Animation CALayer, but I can't figure …

iphone cocoa macos core-animation