MakeSchool-Tutorials / Makestagram-Swift-V3

14 stars 7 forks source link

9. Handling New Users #70

Closed byzantinist closed 7 years ago

byzantinist commented 7 years ago

In the previous section, we've successfully setup some logic in our LoginViewController that is supposed to determines whether an authenticated user is a new or existing user.

should be

In the previous section, we've successfully set up some logic in our LoginViewController that is supposed to determine whether an authenticated user is a new or existing user.


In this section, we'll look handle the login flow for new users which will fix our previous code.

should be

In this section, we'll handle the login flow for new users which will fix our previous code.


One capability of the updateChildValues is the ability to simultaneously write specific children at multiple locations.

should be

One capability of updateChildValues is the ability to simultaneously write specific children at multiple locations.

or

One capability of the updateChildValues method is the ability to simultaneously write specific children at multiple locations.


Select the navigation controller and go to the property inspector

should be

Select the navigation controller and go to the attributes inspector


Under "Testing our Code" the third screenshot shows the message "User already exists" but earlier in "Segueing to our New View Controller" we replaced this with "Welcome back" instead.


Next let's create a static method that encapsulates the functionality for creating an user on Firebase.

should be

Next let's create a static method that encapsulates the functionality for creating a user on Firebase.

ocwang commented 7 years ago

@byzantinist Fixed all issues but the screenshot. If it's convenient for you, could you take a screenshot of the updated output and send that to me?

byzantinist commented 7 years ago

Not sure if my code is the best example, but here is a sample screenshot (attached).

screen shot 2017-06-28 at 9 30 13 am
ocwang commented 7 years ago

Thanks! I'll get this added.