         super.init(layer: layer)
         setup()
     }
-
+    
     required public init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
         setup()

    /// The start color of the progress ring.
    @IBInspectable open var startColor: UIColor {
        get {
            return UIColor(cgColor: (layer as! MKRingProgressLayer).startColor)
        }
        set {
            (layer as! MKRingProgressLayer).startColor = newValue.cgColor
        }
    }
    
    /// The end color of the progress ring.
    @IBInspectable open var endColor: UIColor {
        get {
            return UIColor(cgColor: (layer as! MKRingProgressLayer).endColor)
        }
        set {
            (layer as! MKRingProgressLayer).endColor = newValue.cgColor
        }
    }
    

    /// If not specified, `startColor` with 15% opacity will be used.
    @IBInspectable open var backgroundRingColor: UIColor? {
        get {
            if let color = ringProgressLayer.backgroundRingColor {
                return UIColor(cgColor: color)
            }
            return nil
        }
        set {
            ringProgressLayer.backgroundRingColor = newValue?.cgColor
        }
    }
    
    /// The width of the progress ring. Defaults to `20`.
    @IBInspectable open var ringWidth: CGFloat {
        get {
            return ringProgressLayer.ringWidth
        }
        set {
            ringProgressLayer.ringWidth = newValue
        }
    }
    
