 // toggle[x,r15]:sw
 
 open class SwitchCell : StaticTableViewCell,BXBindable{
-  open let toggleSwitch = UISwitch(frame:CGRect.zero)
-  
+  open let toggleSwitch = UISwitch(frame:.zero)
+  public let tipLabel = UILabel(frame: .zero)
+  public var showTip:Bool = false{
+    didSet{
+      tipLabel.isHidden = !showTip
+    }
+  }
+  public var tipOn:String?
+  public var tipOff:String?
   
   public convenience init() {
     self.init(style: .value1, reuseIdentifier: "SwitchCellCell")

    backgroundColor = .white
    textLabel?.font = UIFont.systemFont(ofSize: 15)
    textLabel?.textColor = FormColors.primaryTextColor
  }
  
  
  
  open var on:Bool{
    get{ return toggleSwitch.isOn }
    set{ toggleSwitch.isOn = newValue }
  }
}

  }
  
  var allOutlets :[UIView]{
    return [toggleSwitch, tipLabel]
  }
  var allUISwitchOutlets :[UISwitch]{
    return [toggleSwitch]
