Example based on Erica Sadun's iOS6 Cookbook code on how to do simple animations for the iPhone.