Hi everyone! I'm fairly new to iOS and could test PRTween with
success as long as I didn't use the timingFunction parameter.
When I did, I always got the same error:
"No known class method for selector 'tween:property:from:to:duration:timingFunction:'"
This is my code: (v1 is my view I'd love to animate)
[PRTween tween:v1 property:@"alpha" from:1 to:0 duration:3 timingFunction:&PRTweenTimingFunctionExpoInOut];
Would love to hear about any solution! I love custom easing.
Thanks a bunch,
Yordi.
Hi everyone! I'm fairly new to iOS and could test PRTween with success as long as I didn't use the timingFunction parameter. When I did, I always got the same error: "No known class method for selector 'tween:property:from:to:duration:timingFunction:'"
This is my code: (v1 is my view I'd love to animate) [PRTween tween:v1 property:@"alpha" from:1 to:0 duration:3 timingFunction:&PRTweenTimingFunctionExpoInOut];
Would love to hear about any solution! I love custom easing. Thanks a bunch, Yordi.