Updated Typo in Simple Validation example
This commit is contained in:
parent
698a50b381
commit
ee31a5421a
|
|
@ -30,7 +30,7 @@ class SimpleValidationViewController : ViewController {
|
|||
super.viewDidLoad()
|
||||
|
||||
usernameValidOutlet.text = "Username has to be at least \(minimalUsernameLength) characters"
|
||||
passwordValidOutlet.text = "Username has to be at least \(minimalPasswordLength) characters"
|
||||
passwordValidOutlet.text = "Password has to be at least \(minimalPasswordLength) characters"
|
||||
|
||||
let usernameValid = usernameOutlet.rx_text
|
||||
.map { $0.characters.count >= minimalUsernameLength }
|
||||
|
|
|
|||
Loading…
Reference in New Issue