     /*
     *	Sets the knob color that shows when the switch is on. Defaults to white.
     */
-    var onThumbTintColor: UIColor = UIColor.whiteColor() {
+    @IBInspectable var onThumbTintColor: UIColor = UIColor.whiteColor() {
     willSet {
         userDidSpecifyOnThumbTintColor = true
         if self.on && !self.tracking {

    *	Sets the background color that shows when the switch off and actively being touched.
    *   Defaults to light gray.
    */
    var activeColor: UIColor = UIColor(red: 0.89, green: 0.89, blue: 0.89, alpha: 1) {
    willSet {
        if self.on && !self.tracking {
            backgroundView.backgroundColor = newValue

    /*
    *   Sets the image that shows on the switch thumb.
    */
    @IBInspectable var thumbImage: UIImage! {
    willSet {
        thumbImageView.image = newValue
    }
