Skip to content

Instantly share code, notes, and snippets.

@doronkatz
Created July 22, 2015 05:02
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 doronkatz/4f81aa9f98f452fdb4eb to your computer and use it in GitHub Desktop.
Save doronkatz/4f81aa9f98f452fdb4eb to your computer and use it in GitHub Desktop.
let authenticationButton = TWTRLogInButton(logInCompletion:
{ (session, error) in
if (session != nil) {
//We signed in, storing session in session object.
} else {
//we get an error, accessible from error object
}
})
let authenticationButton = TWTRLogInButton(logInCompletion:
{ (session, error) in
if (session != nil) {
//We signed in, storing session in session object.
} else {
//we get an error, accessible from error object
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment