I am trying to create a loader framework that will look something like this. But I have little information on how to do this. It is possible to create a sine wave using UIBezierPathand CAShapeLayer. But how can I create a continuous sine wave? Also how to use this as a mask?
Any hint would be a big help.

source
share