The only reason that I am using CAShapeLayer instead of CALayer is for that\'s animation property.
CAShapeLayer
CALayer
Red border for view.layer is
view.layer