diff options
-rw-r--r-- | Example/Auth/SwiftSample/ViewController.swift | 2 | ||||
-rw-r--r-- | Firebase/Auth/Source/Public/FIRAuthUIDelegate.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Example/Auth/SwiftSample/ViewController.swift b/Example/Auth/SwiftSample/ViewController.swift index e90b727..a35faeb 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 ee044dc..5fc5dc5 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 <NSObject> +FIR_SWIFT_NAME(AuthUIDelegate) +@protocol FIRAuthUIDelegate <NSObject> /** @fn presentViewController:animated:completion: @brief If implemented, this method will be invoked when Firebase Auth needs to display a view |