     @IBInspectable public var shadowColor: UIColor {
         get {
             guard let shadowColor = self.layer.shadowColor else {
-                return UIColor(red: 0, green: 0, blue: 0, alpha: 0)
+                return UIColor.clear
             }
             return UIColor(cgColor: shadowColor)
         }

    
    /// Removes all subviews from current view
    public func removeAllSubviews() {
        self.subviews.forEach { (subview) -> Void in
            subview.removeFromSuperview()
        }
    }
    
    /// Create an UIView with the given frame and background color.
    ///
    /// - Parameters:
    ///   - frame: UIView frame.
    ///   - backgroundColor: UIView background color.
    public convenience init(frame: CGRect, backgroundColor: UIColor) {
        self.init(frame: frame)
        self.backgroundColor = backgroundColor
    }
}


        animation.path = path.cgPath
        animation.repeatCount = count
        animation.duration = duration
        animation.autoreverses = autoreverses
        
        self.layer.add(animation, forKey: "animateAlongPath")
    }
