Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mhijack/f9000966ab074a781ae97770547d5e94 to your computer and use it in GitHub Desktop.
Save mhijack/f9000966ab074a781ae97770547d5e94 to your computer and use it in GitHub Desktop.
func handleGetUsers() {
getUsers { (success, users, error) in
if success,
let users = users {
/// Display users
} else if let error = error {
/// Handle error
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment