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 to create custom easing function with Core Animation?

I am animating a CALayer along a CGPath (QuadCurve) quite nicely in iOS. But I'd like to use a more …

iphone cocoa-touch core-animation tween
Disabling implicit animations in -[CALayer setNeedsDisplayInRect:]

I've got a layer with some complex drawing code in its -drawInContext: method. I'm trying to minimize the amount of …

iphone ios core-animation calayer
iPhone Core Animation - Drawing a Circle

I wish to create an animation. The best way I can explain this is if you can imagine drawing a …

iphone core-animation
How to animate the background color of a UILabel?

This looks like it should work, but doesn't. The color turns green at once. self.labelCorrection.backgroundColor = [UIColor whiteColor]; [UIView …

ios iphone core-animation
UIView.animateWithDuration swift loop animation

In ViewController.Swift I managed to make a box animate from one point to another. I thought it would be …

ios swift uikit core-animation uiviewanimation
How can I animate the movement of a view or image along a curved path?

I am developing a commerce application. When I add an item to the shopping cart, I want to create an …

iphone objective-c ios cocoa-touch core-animation
What are block-based animation methods in iPhone OS 4.0?

I am trying to implement a game using the iPhone OS 4.0 (iOS4?) SDK. In the previous versions of the SDK, …

iphone ios4 uiview core-animation
How do I pan the image inside a UIImageView?

I have a UIImageView that is displaying an image that is wider and taller than the UIImageView is. I would …

cocoa-touch core-animation
UIView shake animation

i'm trying to make a UIView shake when a button is pressed. I am adapting the code I found on …

ios iphone animation cocoa-touch core-animation
What causes this error? "CALayer position contains NaN: [240 nan]"

I've seen this happen whenever i rotate a screen that has a UITableView on it. I've found out that it …

iphone core-animation calayer