I want to create an animation that will appear to animate just like Apple's CurveEaseInOut, so that my application looks consistent. The problem is that this particular animation cannot use the UIView animate method. I must manipulate the position manually at every frame. For example, I get a time T and I need to output the center C for the point at that time. Rather than using a linear relationship (e.g. C = T), I want it to ease in and out just like Apple does.
Which curve equation is Apple using for that animation option?
I assume the curve looks similar to this: (which was taken from this question)
If that is the case, it looks like I should be able to just tweak the Cubic Hermite spline equation with the correct constants and get the same result. The question is which constants does Apple use?