aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Public/FIRDocumentChange.h
diff options
context:
space:
mode:
authorGravatar Sebastian Schmidt <mrschmidt@google.com>2017-12-10 14:40:22 -0800
committerGravatar Sebastian Schmidt <mrschmidt@google.com>2017-12-10 14:40:22 -0800
commitbc179ea4ea7edff419a40d4fed423123f9f08a2b (patch)
tree764a0eee347c1c2f195615b3e0de0d0061b3e5bf /Firestore/Source/Public/FIRDocumentChange.h
parent91f26774b45192f3c7b4302a7d9f69fc2e904eee (diff)
Making DocumentSnapshot nullable
Diffstat (limited to 'Firestore/Source/Public/FIRDocumentChange.h')
-rw-r--r--Firestore/Source/Public/FIRDocumentChange.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Firestore/Source/Public/FIRDocumentChange.h b/Firestore/Source/Public/FIRDocumentChange.h
index 022c81b..4717067 100644
--- a/Firestore/Source/Public/FIRDocumentChange.h
+++ b/Firestore/Source/Public/FIRDocumentChange.h
@@ -18,7 +18,7 @@
NS_ASSUME_NONNULL_BEGIN
-@class FIRDocumentSnapshot;
+@class FIRQueryDocumentSnapshot;
/** An enumeration of document change types. */
typedef NS_ENUM(NSInteger, FIRDocumentChangeType) {
@@ -47,7 +47,7 @@ NS_SWIFT_NAME(DocumentChange)
@property(nonatomic, readonly) FIRDocumentChangeType type;
/** The document affected by this change. */
-@property(nonatomic, strong, readonly) FIRDocumentSnapshot *document;
+@property(nonatomic, strong, readonly) FIRQueryDocumentSnapshot *document;
/**
* The index of the changed document in the result set immediately prior to this FIRDocumentChange