diff --git a/Example/Auth/SwiftSample/ViewController.swift b/Example/Auth/SwiftSample/ViewController.swift index e90b727a3cd..a35faebefcb 100644 --- a/Example/Auth/SwiftSample/ViewController.swift +++ b/Example/Auth/SwiftSample/ViewController.swift @@ -19,7 +19,7 @@ import UIKit import FirebaseCommunity.FirebaseAuth import GoogleSignIn -final class ViewController: UIViewController, UITextFieldDelegate, FIRAuthUIDelegate { +final class ViewController: UIViewController, UITextFieldDelegate, AuthUIDelegate { /// The profile image for the currently signed-in user. @IBOutlet weak var profileImage: UIImageView! diff --git a/Firebase/Auth/Source/Public/FIRAuthUIDelegate.h b/Firebase/Auth/Source/Public/FIRAuthUIDelegate.h index ee044dc2568..5fc5dc53245 100644 --- a/Firebase/Auth/Source/Public/FIRAuthUIDelegate.h +++ b/Firebase/Auth/Source/Public/FIRAuthUIDelegate.h @@ -24,7 +24,8 @@ NS_ASSUME_NONNULL_BEGIN /** @protocol FIRAuthUIDelegate @brief A protocol to handle user interface interactions for Firebase Auth. */ -@protocol FIRAuthUIDelegate +FIR_SWIFT_NAME(AuthUIDelegate) +@protocol FIRAuthUIDelegate /** @fn presentViewController:animated:completion: @brief If implemented, this method will be invoked when Firebase Auth needs to display a view