Skip to content

Commit f42d6d1

Browse files
authored
FIxes Swift name for the new protocol. (#289)
1 parent 66f3aed commit f42d6d1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Example/Auth/SwiftSample/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import UIKit
1919
import FirebaseCommunity.FirebaseAuth
2020
import GoogleSignIn
2121

22-
final class ViewController: UIViewController, UITextFieldDelegate, FIRAuthUIDelegate {
22+
final class ViewController: UIViewController, UITextFieldDelegate, AuthUIDelegate {
2323
/// The profile image for the currently signed-in user.
2424
@IBOutlet weak var profileImage: UIImageView!
2525

Firebase/Auth/Source/Public/FIRAuthUIDelegate.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ NS_ASSUME_NONNULL_BEGIN
2424
/** @protocol FIRAuthUIDelegate
2525
@brief A protocol to handle user interface interactions for Firebase Auth.
2626
*/
27-
@protocol FIRAuthUIDelegate <NSObject>
27+
FIR_SWIFT_NAME(AuthUIDelegate)
28+
@protocol FIRAuthUIDelegate <NSObject>
2829

2930
/** @fn presentViewController:animated:completion:
3031
@brief If implemented, this method will be invoked when Firebase Auth needs to display a view

0 commit comments

Comments
 (0)