From 5b1ca51e7264b5ac581c7a0382beb44ed65bdf14 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 12 Dec 2017 07:11:39 +0800 Subject: Addressing comments --- Firestore/Source/Public/FIRDocumentSnapshot.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Firestore/Source/Public') diff --git a/Firestore/Source/Public/FIRDocumentSnapshot.h b/Firestore/Source/Public/FIRDocumentSnapshot.h index e8e73c9..994cabf 100644 --- a/Firestore/Source/Public/FIRDocumentSnapshot.h +++ b/Firestore/Source/Public/FIRDocumentSnapshot.h @@ -26,6 +26,12 @@ NS_ASSUME_NONNULL_BEGIN * their final value. */ typedef NS_ENUM(NSInteger, FIRServerTimestampBehavior) { + /** + * Return `NSNull` for `FieldValue.serverTimestamp()` fields that have not yet + * been set to their final value. + */ + FIRServerTimestampBehaviorNone, + /** * Return a local estimates for `FieldValue.serverTimestamp()` * fields that have not yet been set to their final value. This estimate will @@ -38,13 +44,7 @@ typedef NS_ENUM(NSInteger, FIRServerTimestampBehavior) { * Return the previous value for `FieldValue.serverTimestamp()` fields that * have not yet been set to their final value. */ - FIRServerTimestampBehaviorPrevious, - - /** - * Return `NSNull` for `FieldValue.serverTimestamp()` fields that have not yet - * been set to their final value. - */ - FIRServerTimestampBehaviorNone + FIRServerTimestampBehaviorPrevious }; /** -- cgit v1.2.3