removed code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-30 14:28:34 -05:00
parent dab443d24b
commit 5f61af5323

View File

@ -45,12 +45,6 @@ class RadioBoxGroupViewController: ModelScrollViewController<DefaultRadioBoxGro
addFormRow(label: "Sub Text Right", view: subTextRightField)
addFormRow(label: "Error", view: showErrorSwitch)
radioBoxGroup
.handlerPublisher()
.sink { [weak self] viewModel in
self?.model = viewModel
}.store(in: &subscribers)
showErrorSwitch
.publisher(for: .valueChanged)
.sink { [weak self] sender in
@ -139,32 +133,6 @@ class RadioBoxGroupViewController: ModelScrollViewController<DefaultRadioBoxGro
var radioBox: RadioBox? {
radioBoxGroup.selectorViews.first
}
@IBAction func disabledChanged(_ sender: UISwitch) {
radioBoxGroup.disabled = sender.isOn
}
@IBAction func onTextDidEnd(_ sender: UITextField) {
radioBox?.text = sender.text ?? "No value entered"
sender.resignFirstResponder()
}
@IBAction func onSubTextDidEnd(_ sender: UITextField) {
radioBox?.subText = sender.text
sender.resignFirstResponder()
}
@IBAction func onSubTextRightDidEnd(_ sender: UITextField) {
radioBox?.subTextRight = sender.text
sender.resignFirstResponder()
}
@IBAction func showErrorChanged(_ sender: UISwitch) {
radioBoxGroup.hasError = sender.isOn
}
@IBAction func surfaceClick(_ sender: Any) {
pickerType = .surface
}
//Picker
var surfacePicker = SurfacePicker()