         get {
             return self.knobPointer?.image
         }
-        set(img){
-            self.knobPointer?.image = img?.withRenderingMode(.alwaysTemplate)
+        set {
+            self.knobPointer?.image = newValue?.withRenderingMode(.alwaysTemplate)
         }
     }
     
     @IBInspectable var textColor: UIColor? {
-        get{
+        get {
             return self.valueLbl.textColor
         }
-        set(newColorOpt) {
-            if let newColor = newColorOpt{
+        set {
+            if let newColor = newValue {
                 self.valueLbl.textColor = newColor
             }
         }
     }
     
     @IBInspectable var knobTint: UIColor? {
-        get{
+        get {
             return self.imageTint
         }
-        set(newColorOpt) {
-            if let newColor = newColorOpt{
+        set {
+            if let newColor = newValue {
                 self.imageTint = newColor
             }
         }

    
    // MARK: Override(s)
    
    override var isEnabled: Bool{
        didSet{
            if(isEnabled){
                self.alpha = 1.0
            } else {
                self.alpha = 0.65

        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
        }
    }
}
