DroidsOnRoids/TwitterLogIn

Name: TwitterLogIn

Owner: Droids On Roids

Description: null

Created: 2015-12-18 13:53:53.0

Updated: 2015-12-18 14:02:57.0

Pushed: 2015-12-21 20:17:00.0

Homepage: null

Size: 3314

Language: Swift

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TwitterLogIn

Currently, most mobile applications have the option to login by social networks. This sample Swift project was created to show simple and fast solution for login by Twitter using Parse service. So, with a few lines of code I have created complete login view like this:

alt tag

ction func signInButtonAction(sender: UIButton) {
    if PFUser.currentUser() == nil {
        let parseAutomaticViewController = PFLogInViewController()
        parseAutomaticViewController.fields = [.Twitter, .DismissButton]
        parseAutomaticViewController.delegate = self
        presentViewController(parseAutomaticViewController, animated: true, completion: nil)
    }
}

You can find complete description and alternative solution on Droids On Roids Blog


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.