Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
guard let username = usernameTF.text, username.characters.count >= 6 else {
// wrong username format
guard let password = passwordTF.text, password.characters.count >= 6 else {
// wrong password format
// do register user here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment