Skip to content

FIxes Swift name for the new protocol. #289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Example/Auth/SwiftSample/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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!

Expand Down
3 changes: 2 additions & 1 deletion Firebase/Auth/Source/Public/FIRAuthUIDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down