updated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
f2b426df9a
commit
b4f8d56024
@ -51,7 +51,7 @@ class CheckboxViewController: UIViewController, StoryboardInitable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func showErrorChanged(_ sender: UISwitch) {
|
@IBAction func showErrorChanged(_ sender: UISwitch) {
|
||||||
checkbox.disabled = sender.isOn
|
checkbox.showError = sender.isOn
|
||||||
}
|
}
|
||||||
|
|
||||||
@IBAction func onErrorTextDidEnd(_ sender: UITextField) {
|
@IBAction func onErrorTextDidEnd(_ sender: UITextField) {
|
||||||
|
|||||||
@ -14,7 +14,7 @@ class ToggleViewController: UIViewController, StoryboardInitable {
|
|||||||
enum PickerType {
|
enum PickerType {
|
||||||
case surface, textSize, textPosition, fontWeight
|
case surface, textSize, textPosition, fontWeight
|
||||||
}
|
}
|
||||||
static var storyboardId: String = "checkbox"
|
static var storyboardId: String = "toggle"
|
||||||
static var storyboardName: String = "Components"
|
static var storyboardName: String = "Components"
|
||||||
|
|
||||||
@IBOutlet weak var toggleContainerView: UIView!
|
@IBOutlet weak var toggleContainerView: UIView!
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user