Top "Core-animation" questions

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

Test whether a UIView is in the middle of animation

Is there any way to tell if a UIView is in the middle of an animation? When I print out …

ios cocoa-touch uiview core-animation uiviewanimation
Draw segments from a circle or donut

I've been trying to figure out a way to draw segments as illustrated in the following image: I'd like to: …

ios core-animation core-graphics
How to get text in a CATextLayer to be clear

I've made a CALayer with an added CATextLayer and the text comes out blurry. In the docs, they talk about "…

text ios core-animation calayer
iPhone "slide to unlock" animation

Any ideas as to how Apple implemented the "slide to unlock" (also, "slide to power off" is another identical example) …

ios objective-c cocoa-touch core-animation
CoreAnimation warning deleted thread with uncommitted CATransaction

I am having issues with the following warning: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in …

multithreading core-animation nsoperation catransaction
How can I create a custom "pin-drop" animation using MKAnnotationView?

I have an instance of MKMapView and would like to use custom annotation icons instead of the standard pin icons …

iphone core-animation mapkit mkpinannotationview
What does "Receiver type 'CALayer' for instance message is a forward declaration" mean here?

I'm porting a block of code from an iOS4 project to iOS5 and I'm having some troubles with ARC. The …

objective-c ios core-animation calayer automatic-ref-counting
iOS Core Animation: CALayer bringSublayerToFront?

How do I bring a CALayer sublayer to the front of all sublayers, analogous to -[UIView bringSubviewToFront]?

iphone objective-c ios core-animation calayer
How to animate the textColor property of an UILabel?

For some reason, when I try to animate textColor, it won't work. The textColor just suddenly changes from A to …

iphone core-animation
Is there a way to pause a CABasicAnimation?

I have a basic spinning animation of the iPhone. Is there any way that I can "pause" the animation so …

iphone core-animation cabasicanimation