aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Public/FIRDocumentChange.h
diff options
context:
space:
mode:
authorGravatar Ryan Wilson <wilsonryan@google.com>2017-11-28 06:59:07 -0800
committerGravatar GitHub <noreply@github.com>2017-11-28 06:59:07 -0800
commit7386f00178be4fe1f8d8f749049d25cbf0533e6a (patch)
tree02ba61c9cda5c439b4b991c7286f93ea8512bbea /Firestore/Source/Public/FIRDocumentChange.h
parent7459be46ffb27bc95e155a1b267f91093f1a62b0 (diff)
Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. (#476)
* Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. This pushes the minimum Xcode version to 7.3, as NS_SWIFT_NAME was limited before that version (which is why the macro was introduced in the first place). * Fixed FIRMessaging header
Diffstat (limited to 'Firestore/Source/Public/FIRDocumentChange.h')
-rw-r--r--Firestore/Source/Public/FIRDocumentChange.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Firestore/Source/Public/FIRDocumentChange.h b/Firestore/Source/Public/FIRDocumentChange.h
index 674e3b2..022c81b 100644
--- a/Firestore/Source/Public/FIRDocumentChange.h
+++ b/Firestore/Source/Public/FIRDocumentChange.h
@@ -16,8 +16,6 @@
#import <Foundation/Foundation.h>
-#import "FIRFirestoreSwiftNameSupport.h"
-
NS_ASSUME_NONNULL_BEGIN
@class FIRDocumentSnapshot;
@@ -33,13 +31,13 @@ typedef NS_ENUM(NSInteger, FIRDocumentChangeType) {
* the query.
*/
FIRDocumentChangeTypeRemoved
-} FIR_SWIFT_NAME(DocumentChangeType);
+} NS_SWIFT_NAME(DocumentChangeType);
/**
* A `FIRDocumentChange` represents a change to the documents matching a query. It contains the
* document affected and the type of change that occurred (added, modified, or removed).
*/
-FIR_SWIFT_NAME(DocumentChange)
+NS_SWIFT_NAME(DocumentChange)
@interface FIRDocumentChange : NSObject
/** */