Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
I just wrapped up development on a Core Animation tutorial.
This project demonstrates a number of techniques for using Core Animation:
Using different animation timing functions like kCAMediaTimingFunctionLinear, kCAMediaTimingFunctionEaseIn, and kCAMediaTimingFunctionEaseInEaseOut to get different effects
Using CAKeyframeAnimation and a CGPath to animate a layer along a curved path (a figure 8).
Creating a custom subclass of UIView that has a CAShapeLayer as it's backing layer so you can draw shapes in a view "for free."
Adding a CGPath to a shape layer to draw shapes on the screen.
Using CAAnimationGroup to create a linked series of animations that run in sequence
Creating a very clean "per animation" completion block scheme using the fact that CAAnimation objects support the setValue:forKey: method. I add a code block to an animation object and set up the animation delegate's animationDidStop:finished method to check for a special key/value pair with the key kAnimationCompletionBlock.
Using the cumulative property on animations to create a single repeating animation that continuously rotates a layer by any desired amount.
Using a CATapGestureRecognizer to detect taps on a view.
Detecting taps on a view while it animates "live" by using the hitTest method of the view's presentation layer
The easiest thing to do, if you're not planning on pushing changes to the project, is to click the "ZIP" button, which downloads a zip version of the project without setting you up with GIT source control.
Post edited by Duncan C on
Duncan C WareTo
Animated GIF created with Face Dancer, available for free in the app store.