Here’s a nice little project for you to dig around in if you’ve been checking out the snazzy stuff you can do with Core Animation – heck, you even bought the book — and been meaning to get into it seriously Real Soon Now. Not that we know anybody like that of course, but just in case you do, have them check this piece from Benjamin Ragheb out, called Desk Jockey:
On October 8, 2008 I gave a presentation at the New York City iPhone Developer Meetup on using Core Animation to design games. Specifically, the talk was focused on creating a scene using CALayer and then responding to touch events so that certain layers can be dragged around the screen.
Download (3.2 MB) the Xcode project and slides.
For your trouble you’ll get a reasonably clearly written exposition of how to mix Core Animation with interactivity on the iPhone, along with a sample project demonstrating it in action:
Pretty cool stuff, this Core Animation, for not very much code. Definitely worth checking into. And if you do, a nice gesture to show appreciation would be to buy Benjamin’s programs FatWatch and Ruboku
, we definitely want to support people who share the knowledge, don’t we?
h/t: iphonedev!
OCT
