     *   Set to NO to get a stylish square switch.
     *   Defaults to YES.
     */
-    @IBInspectable var isRounded: Bool = true {
-    willSet {
-        if newValue {
-            backgroundView.layer.cornerRadius = self.frame.size.height * 0.5
-            thumbView.layer.cornerRadius = (self.frame.size.height * 0.5) - 1
-        }
-        else {
-            backgroundView.layer.cornerRadius = 2
-            thumbView.layer.cornerRadius = 2
-        }
-        
-        thumbView.layer.shadowPath = UIBezierPath(roundedRect: thumbView.bounds, cornerRadius: thumbView.layer.cornerRadius).CGPath
-    }
+    @IBInspectable public var isRounded: Bool = true {
+        willSet {
+            if newValue {
+                backgroundView.layer.cornerRadius = self.frame.size.height * 0.5
+                thumbView.layer.cornerRadius = (self.frame.size.height * 0.5) - 1
+            }
+            else {
+                backgroundView.layer.cornerRadius = 2
+                thumbView.layer.cornerRadius = 2
+            }
+            
+            thumbView.layer.shadowPath = UIBezierPath(roundedRect: thumbView.bounds, cornerRadius: thumbView.layer.cornerRadius).CGPath
+        }
     }
     
     /*
     *   Sets the image that shows on the switch thumb.
     */
-    @IBInspectable var thumbImage: UIImage! {
-    willSet {
-        thumbImageView.image = newValue
-    }
+    @IBInspectable public var thumbImage: UIImage! {
+        willSet {
+            thumbImageView.image = newValue
+        }
     }
     
     /*

        return true
    }
    
    override func endTrackingWithTouch(touch: UITouch, withEvent event: UIEvent) {
        super.endTrackingWithTouch(touch, withEvent: event)

        let previousValue = self.on

    *
    *	@return	BOOL YES if switch is on. NO if switch is off
    */
    public func isOn() -> Bool {
        return self.on
    }
    
