I wanted to show animation on parts of the image, like coloring. I achieved this with masking, but it's hard for performance.
I'm looking for a way to convert a mask to UIBezierPath, so I can add animation on layers in a UIView every time, rather than a UIView object.
I am trying to follow the exact MagicWand method
for Mac
but it has many Cocoa classes. Can anyone suggest me a solution to convert a mask or image to a UIBezierPath object according to iOS classes or any tutorial to find the key?
Thanks in advance.
source
share