I have a long path and I want to animate a view along just a part of it. I need a way to get just a part of this path which I calculate as a portion of it.
For example, with CAShapeLayer you can get a portion of it with strokeStart and strokeEnd and then draw just the part you are interested in. I'd like to do the same with a path and then animate a view just along the portion I choose.
My path is long, but is not divided in equal subpaths, so I can't use the subpaths to get the portion I need.
Any idea? Any help would be really appreciated;)