Skip to content

Instantly share code, notes, and snippets.

@ksmandersen
Last active June 19, 2016 09:15
Show Gist options
  • Save ksmandersen/f159487a260a657e102ef380d936bd1e to your computer and use it in GitHub Desktop.
Save ksmandersen/f159487a260a657e102ef380d936bd1e to your computer and use it in GitHub Desktop.
currentRequest?.getValue { [weak self] result in
guard let user = result.okValue where result.errorValue == nil else {
self?.showRequestError(result.errorValue)
self?.isPerformingSignUp = false
return
}
self?.finishSignUp(user)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment