Drawing bezier curve using core animation
Today we are going to learn how to draw arbitrary shapes using UIBezierPath and CAShapeLayer classes.
Drawing shape with UIBezierPath is very simple. First you have to make an outline using UIBezierPath and then use this path to assign to path for CAShapeLayer object.