4 thoughts on “Login with Parse in Swift – Xcode 6.4 iOS 8.4 Tutorial”

    1. It’s used in the if statement. If the current visitor is not logged in, navigate to the login scene, before home scene appears.
      dispatch_async(dispatch_get_main_queue() dispatches UI updates to the main thread asynchronously.

      Like

  1. Hi Rumiya,

    I really enjoyed your tutorial and I am loving swift already. Just one correction I would like to make to your code, if you don’t mind. For the following code in HomeViewController.swift you put it the following:

    “if let pUserName = PFUser.currentUser()?[“username”] as? String {”

    I have tried this and was getting an error, could you please correct it to the following:

    “if let pUserName = PFUser.currentUser()?.username {”

    Other than that, its a beautiful app.

    Thanks,
    Adnan

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s