     }
 
     func controlSetup() {
-
         translatesAutoresizingMaskIntoConstraints = false
-        movingView = UIView(frame: frame)
         movingView.isUserInteractionEnabled = false
         movingView.translatesAutoresizingMaskIntoConstraints = false
         addSubview(movingView)


    // MARK: - Draw elements

    override open func draw(_ rect: CGRect) {
        self.drawProgressBackCircle(rect)
        self.drawConnector(rect)
        self.drawDot1(rect)

import GLKit

@IBDesignable
public class FRCircleSlider: UIControl {

    @IBInspectable var selectedColor: UIColor = UIColor.blue
    @IBInspectable var firstDotColor: UIColor = UIColor.gray
