Updated Typo in Simple Validation example

This commit is contained in:
Joey Clover 2016-02-17 23:46:57 +00:00
parent 698a50b381
commit ee31a5421a
1 changed files with 1 additions and 1 deletions

View File

@ -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 }