One of the things sorely lacking from iOS is the ability to set keys on an attribute/attributes and interpolate between them using a spline. Has anyone thought about this and/or found an approach to get around this? Is everyone using Cocos2d for this sort of thing? Cocos2d is way more capability then I need?
Thanks,
Doug
Check out the CAKeyframeAnimation class. UIViews use Core Animation layers, so a Core Animation…er…animation that you apply to a view’s layer gets applied to its contents as well. Most appearance-related properties on CALayer are animatable—obvious ones like
frameandopacity, for instance, but also things likebackgroundColorandcornerRadius.