Skip to content

Instantly share code, notes, and snippets.

@clooth
Created February 17, 2015 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clooth/adac2eb76b885cf5894c to your computer and use it in GitHub Desktop.
Save clooth/adac2eb76b885cf5894c to your computer and use it in GitHub Desktop.
reduce(
emailAddressField.textDynamic(),
passwordField.textDynamic(),
confirmPasswordField.textDynamic(),
false) { email, password, confirm in
return email != "" && password != "" && confirm != "" && password == confirm
} ->> signupButton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment