Core Animating Interfaces

Here’s a good series with illustrative code on working with Core Animation in your UIKit interface:

Animating Interfaces with Core Animation: Part 1

In the first post I created a planetary orbit demo using nested CALayer objects…

Animating Interfaces with Core Animation: Part 2

The second post showed how to dress up a UI by animating an image…

Animating Interfaces with Core Animation: Part 3

The third post shows how you can trigger animations in response to button actions…

Animating Interfaces with Core Animation: Part 4

This post will show how you can create the beginnings of a full game using Core Animation combined with CAShapeLayer and UIBezierPath objects…

That latest one is particularly nifty — shows you how to animate this car sprite along this decidedly non-trivial path:

CALayerAnimTest-5-200x300.png
Pretty cool stuff to dress your app up with whilst staying in UIKit land, indeed!

h/t: ManiacDev!

UPDATE:

And here’s another discussion of using Core Animation in a UIKit context:

Frame-by-Frame Sprites with Core Animation

Alex | January 17, 2011

Leave a Reply