Hello! Is it possible to use Core Animation to change something else than properties of CALayers? I’d like to use a simple property animation with easing to change a value on my model class. Something like this:
CABasicAnimation* anim = [CABasicAnimation animation];
anim.keyPath = @"someProperty";
anim.fromValue = [NSNumber numberWithFloat: 0.0];
anim.toValue = [NSNumber numberWithFloat: 1.5];
anim.duration = 1.0;
anim.timingFunction = [CAMediaTimingFunction
functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
And then call something like [anim update]
until the animation finishes.