Drawing an animatable laser beam with CALayer?

I'm trying to draw a light beam using CAShapeLayer but not able to correctly implement it. Have used the shadow prop...

CAGradientLayer issues for animated circle created using CAShapeLayer?

I am drawing an animated circle using the UIBezierPath and CAShapeLayer. Now while adding the gradient effect the pr...