aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/FIRAuthDefaultUIDelegate.m
diff options
context:
space:
mode:
authorGravatar Xiangtian Dai <xiangtian@google.com>2017-09-12 13:49:05 -0700
committerGravatar GitHub <noreply@github.com>2017-09-12 13:49:05 -0700
commitc8ea66eecfb256925e457d14b64bc08984da4387 (patch)
treea5c01d7f36c447111092ec80cbde68cfdb7fca07 /Firebase/Auth/Source/FIRAuthDefaultUIDelegate.m
parente8cf906d21501513f53666a34d4c4eb3e95bef6e (diff)
Implements web view for presenting Auth web content on iOS 7 and 8. (#253)
Also (hopefully) fixes thread safety issues in presenting Auth web content.
Diffstat (limited to 'Firebase/Auth/Source/FIRAuthDefaultUIDelegate.m')
-rw-r--r--Firebase/Auth/Source/FIRAuthDefaultUIDelegate.m14
1 files changed, 5 insertions, 9 deletions
diff --git a/Firebase/Auth/Source/FIRAuthDefaultUIDelegate.m b/Firebase/Auth/Source/FIRAuthDefaultUIDelegate.m
index 118b73c..a00d0e9 100644
--- a/Firebase/Auth/Source/FIRAuthDefaultUIDelegate.m
+++ b/Firebase/Auth/Source/FIRAuthDefaultUIDelegate.m
@@ -14,24 +14,20 @@
* limitations under the License.
*/
-#import <Foundation/Foundation.h>
-
-#import "FIRAuthUIDelegate.h"
+#import "FIRAuthDefaultUIDelegate.h"
NS_ASSUME_NONNULL_BEGIN
-@interface FIRAuthDefaultUIDelegate : NSObject <FIRAuthUIDelegate>
-/** @fn defaultUIDelegate
- @brief Unavailable. Please use initWithViewController:
- */
-- (instancetype)init NS_UNAVAILABLE;
+@interface FIRAuthDefaultUIDelegate ()
/** @fn initWithViewController:
@brief Initializes the instance with a view controller.
- @param viewController The view controller as the presenting view controller in @c GOIUIDelegate.
+ @param viewController The view controller as the presenting view controller in @c
+ FIRAuthUIDelegate.
@return The initialized instance.
*/
- (instancetype)initWithViewController:(UIViewController *)viewController NS_DESIGNATED_INITIALIZER;
+
@end
@implementation FIRAuthDefaultUIDelegate {