         get {
             return Float(self.value)
         }
-        set(newValue){
+        set {
             self.setValue(CGFloat(newValue), animated:false)
         }
     }

            UIView.animate(withDuration: 0.25
                , delay: 0
                , options: [.curveEaseOut, .beginFromCurrentState]
                , animations:{
                    self.knobPointer?.transform = CGAffineTransform(rotationAngle: pointerAngle)
                }, completion: nil)
            

        get{
            return self.view.backgroundColor
        }
        set {
            if let newColor = newValue {
                self.view.backgroundColor = newColor
            }
        }
    }
    
    @IBInspectable var knobCornerRadius: CGFloat {
        get {
            return self.view.layer.cornerRadius
        }
        set {
            self.view.layer.cornerRadius = newValue
            self.view.layer.masksToBounds = newValue > 0
        }
    }
    
    @IBInspectable var knobBorderWidth: CGFloat {
        get {
            return self.view.layer.borderWidth
        }
        set {
            self.view.layer.borderWidth = newValue
        }
    }
    
    @IBInspectable var knobBorderColor: UIColor? {
        get {
            var retColor:UIColor?
            if let cgColor = self.view.layer.borderColor {
                retColor = UIColor(cgColor: cgColor)
            }
            return retColor
        }
        set {
            self.view.layer.borderColor = newValue?.cgColor
        }
    }
}
