MakeSchool-Tutorials / Makestagram-Swift-V3

14 stars 7 forks source link

8. Managing User Accounts #90

Closed Tameem1 closed 6 years ago

Tameem1 commented 6 years ago

We have to use the following code: extension LoginViewController: FUIAuthDelegate { func authUI(_ authUI: FUIAuth, didSignInWith user: FirebaseAuth.User?, error: Error?) { if let error = error { assertionFailure("Error signing in: \(error.localizedDescription)") return } instead of : extension LoginViewController: FUIAuthDelegate { func authUI(_ authUI: FUIAuth, didSignInWith user: User?, error: Error?) { if let error = error { assertionFailure("Error signing in: \(error.localizedDescription)") return }

ocwang commented 6 years ago

Could you elaborate on the error? What's the issue you're running into and why does the code above fix it?

ocwang commented 6 years ago

This issue is already addressed by the tutorial in Handling Future Namespace Conflicts. Please correct me if I'm wrong or missing something.