 
 let rcSwitchFontSize: CGFloat = 12
 
-class RCSwitch: UIControl, CAAnimationDelegate {
+public class RCSwitch: UIControl, CAAnimationDelegate {
 
     // the text showing when isOn == true
     var onText: String = "" {

        }
    }

    override func layoutSubviews() {
        super.layoutSubviews()
        let height: CGFloat = self.frame.height
        let width: CGFloat = self.frame.width

        }
    }

    public func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
        self.isUserInteractionEnabled = true
    }


    required public init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

