aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Public
diff options
context:
space:
mode:
authorGravatar Sebastian Schmidt <mrschmidt@google.com>2017-10-06 09:48:03 -0700
committerGravatar GitHub <noreply@github.com>2017-10-06 09:48:03 -0700
commit19d1bb304a758b2d42d7ba611fb73be4c42ff03f (patch)
tree967ad1af14c1aa70201363304f61911208e11f47 /Firestore/Source/Public
parent202fac501d0c8bfa405e5d7ee90ef52f3560c853 (diff)
Adding NS_SWIFT_NAME for FIRListenerRegistration (#339)
Diffstat (limited to 'Firestore/Source/Public')
-rw-r--r--Firestore/Source/Public/FIRListenerRegistration.h3
-rw-r--r--Firestore/Source/Public/FIRSetOptions.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/Firestore/Source/Public/FIRListenerRegistration.h b/Firestore/Source/Public/FIRListenerRegistration.h
index 5fe7fd5..93df407 100644
--- a/Firestore/Source/Public/FIRListenerRegistration.h
+++ b/Firestore/Source/Public/FIRListenerRegistration.h
@@ -16,9 +16,12 @@
#import <Foundation/Foundation.h>
+#import "FIRFirestoreSwiftNameSupport.h"
+
NS_ASSUME_NONNULL_BEGIN
/** Represents a listener that can be removed by calling remove. */
+FIR_SWIFT_NAME(ListenerRegistration)
@protocol FIRListenerRegistration <NSObject>
/**
diff --git a/Firestore/Source/Public/FIRSetOptions.h b/Firestore/Source/Public/FIRSetOptions.h
index c865e06..e1103a1 100644
--- a/Firestore/Source/Public/FIRSetOptions.h
+++ b/Firestore/Source/Public/FIRSetOptions.h
@@ -16,6 +16,8 @@
#import <Foundation/Foundation.h>
+#import "FIRFirestoreSwiftNameSupport.h"
+
NS_ASSUME_NONNULL_BEGIN
/**
@@ -24,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
* `FIRWriteBatch` and `FIRTransaction` can be configured to perform granular merges instead
* of overwriting the target documents in their entirety.
*/
-NS_SWIFT_NAME(SetOptions)
+FIR_SWIFT_NAME(SetOptions)
@interface FIRSetOptions : NSObject
/** */