How to create several UIButtons along a path/BezierCurve?
How can I create objects along a path/BezierCurve? In other words, how can I create several UIButtons along a given path, with a given interval along that same path? I have seen dozens of questions about moving objects. But I need a solution to actually create them. I would like to go along the path and create an object for every X points/distance. Like this: ....@....@....@....@.... In this case, for every 4 points, get the position, and create a UIButton there. iOS doesn't have a public API that directly gives you points spaced along a path. But there is a roundabout way to do it. Suppose