how to get zigzag line in best and simplest way in swift?
I need to draw/add a smooth zigzag line on UIView/UIImageView,
for this which one is best and simplest way either CALayer or CoreGraphics? or any other?
So I need draw a bottom white zigzag line dynamically in swift
how can I do this
please suggest me and thank you inadvance
Mac mini, iOS 9.2, XCode 7.2