Version 3.0, 2013-03-27
Updated for ARC and Storyboards. Also illustrates block-based animations.
(Full Revision History)
Xcode 4.6 or later and iOS 6 SDK or later
iOS 6 or later
This application illustrates simple drawing, touch handling, and animation using UIKit and Core Animation.
A touch inside a placard animates it in two ways: Its transform is changed such that it appears to pulse, and it is moved such that its center is directly under the touch.
A drag moves the placard so that it remains centered under the touch. When the touch ends, the placard is animated back to the center of the screen, and its original (identity) transform restored.