Beginning Firebase for iOS, Episode 10: Set Up Email/Password Authentication | Kodeco

Set up a second authentication option in your app that will allow users to create an account with an email and password.


This is a companion discussion topic for the original entry at https://www.kodeco.com/22029618-beginning-firebase-for-ios/lessons/10

In Episode 10 for the AthenticationServices.Swift file, there is a static func signIn function, part of the paramerter list is completion: @escaping AuthDataResultCallback

I am getting a Cannot find type AurhDataResultCallback in scope

Please advise…

This is a pretty old post, but for anyone running into this issue in the future, you can use closure syntax to get this working @escaping (AuthDataResult?, Error?) -> Void.

Yes I received an answer on the Kodeco Discord forum on this, thank you :smiley: