Top "Core-animation" questions

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

Shake visual effect on iPhone (NOT shaking the device)

On login failure, I'd prefer to avoid showing an alert, it's too fleeting. Showing the alert and then showing the …

iphone core-animation
How do you move a CALayer instantly (without animation)

I'm trying to drag a CALayer in an iOS app. As soon as I change its position property it tries …

ios objective-c cocoa-touch core-animation calayer
UIButton can't be touched while animated with UIView animateWithDuration

I have the following code: [UIView animateWithDuration:0.3 delay:0.0 options:UIViewAnimationCurveEaseOut | UIViewAnimationOptionAllowUserInteraction animations:^{ CGRect r = [btn frame]; r.origin.y -= 40; […

iphone objective-c ios core-animation uiviewanimation
How to make a CATransform3dMakeRotation rotate the other way? And chain together

I'm working with some Core Animation for the first time and in the process of implementing a playing card that …

iphone core-animation ios catransform3d
Can't add a corner radius and a shadow

I'm trying to draw a shadow and a corner radius on an image. I can add them separately, but I've …

iphone objective-c core-animation core-graphics quartz-graphics
How Do You CAKeyframeAnimation Scale?

I want to create an animation with several key frames. I want my Layer (a button in this case) to …

iphone core-animation scale cakeyframeanimation
Leaking views when changing rootViewController inside transitionWithView

While investigating a memory leak I discovered a problem related to the technique of calling setRootViewController: inside a transition animation …

ios cocoa-touch uiviewcontroller core-animation
Can I animate the UIScrollView contentOffset property via its layer?

I want to zoom and scroll a UIScrollView with a CGPathRef. Because of that I assume I have to animate …

ios uiscrollview core-animation cakeyframeanimation
Applying multiple transforms to a UIView / CALayer

Is there any problem applying multiple transforms to a UIView and it's corresponding CALayer? Specifically, can you "mix and match" …

iphone cocoa-touch uikit core-animation
Masking a CALayer with another CALayer

I'm trying to make a donut shape with CALayers. One CALayer will be a large circle, the other one will …

ios uiview core-animation calayer