Class
ConfigurationViewController
class ConfigurationViewController: UIViewController
manage the configuration activity for the app
Relationships
Conforms To
UITextFieldDelegate
UIViewController
Properties
firstNameTextField
@IBOutlet weak var firstNameTextField: UITextField!
lastNameTextField
@IBOutlet weak var lastNameTextField: UITextField!
hostTextField
@IBOutlet weak var hostTextField: UITextField!
debugModeSwitch
@IBOutlet weak var debugModeSwitch: UISwitch!
deleteEnableSwitch
@IBOutlet weak var deleteEnableSwitch: UISwitch!
Methods
debugModeSwitchValueChanged(_:)
@IBAction func debugModeSwitchValueChanged(_ sender: Any)
deleteEnableSwitchValueChanged(_:)
@IBAction func deleteEnableSwitchValueChanged(_ sender: Any)
textFieldDidEndEditing(_:)
func textFieldDidEndEditing(_ textField: UITextField)
Save user input data such as user name and host
textFieldShouldReturn(_:)
func textFieldShouldReturn(_ textField: UITextField) -> Bool
dismiss keyboard when user finishes input data