Created
July 22, 2015 05:02
-
-
Save doronkatz/4f81aa9f98f452fdb4eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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