Imagine you have a completely normal four-point bezier curve (two points and two control points) created using curveToPoint:controlPoint1:controlPoint2: in your cocoa application. Here it is:
How do you find points, along the curve? So, starting at the StartPoint, what are the x,y coords for a point that is distance D along the curve?
To be clear, iOS does this easily, there are functions that let you trivially animate something along any such curve. (Unfortunately there is no function to spit out the numerical x,y position of each step along the way.)
If there is an incredibly simple answer to this, sorry for being so DUMB.
-- Further .....................
In fact, if you also need the code for the SLOPE at a given point, and also a more explanatory version of Michal's awesome step calculation below, go to question 4089443. Hope it helps.