aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Public
diff options
context:
space:
mode:
authorGravatar Sebastian Schmidt <mrschmidt@google.com>2017-12-12 08:20:59 +0800
committerGravatar Sebastian Schmidt <mrschmidt@google.com>2017-12-12 08:20:59 +0800
commit601c13b0fbdcd21e80b6f0d26fc26fc662417fcc (patch)
treef95a5d9651d68432132841dc4f261a01965c1951 /Firestore/Source/Public
parente006383cda9aa86f185586741d05143e9916dd96 (diff)
Using 100 as line length for comments
Diffstat (limited to 'Firestore/Source/Public')
-rw-r--r--Firestore/Source/Public/FIRDocumentSnapshot.h33
1 files changed, 14 insertions, 19 deletions
diff --git a/Firestore/Source/Public/FIRDocumentSnapshot.h b/Firestore/Source/Public/FIRDocumentSnapshot.h
index 9a095a5..78ab2e5 100644
--- a/Firestore/Source/Public/FIRDocumentSnapshot.h
+++ b/Firestore/Source/Public/FIRDocumentSnapshot.h
@@ -101,9 +101,8 @@ NS_SWIFT_NAME(DocumentSnapshot)
* Retrieves all fields in the document as an `NSDictionary`. Returns `nil` if the document doesn't
* exist.
*
- * Server-provided timestamps that have not yet been set to their final value
- * will be returned as `NSNull`. You can use `dataWithOptions()` to configure this
- * behavior.
+ * Server-provided timestamps that have not yet been set to their final value will be returned as
+ * `NSNull`. You can use `dataWithOptions()` to configure this behavior.
*
* @return An `NSDictionary` containing all fields in the document or `nil` if the document doesn't
* exist.
@@ -114,21 +113,19 @@ NS_SWIFT_NAME(DocumentSnapshot)
* Retrieves all fields in the document as a `Dictionary`. Returns `nil` if the document doesn't
* exist.
*
- * @param options `SnapshotOptions` to configure how data is returned from the
- * snapshot (e.g. the desired behavior for server timestamps that have not
- * yet been set to their final value).
+ * @param options `SnapshotOptions` to configure how data is returned from the snapshot (e.g. the
+ * desired behavior for server timestamps that have not yet been set to their final value).
* @return A `Dictionary` containing all fields in the document or `nil` if the document doesn't
* exist.
*/
- (nullable NSDictionary<NSString *, id> *)dataWithOptions:(FIRSnapshotOptions *)options;
/**
- * Retrieves a specific field from the document. Returns `nil` if the document or the
- * field doesn't exist.
+ * Retrieves a specific field from the document. Returns `nil` if the document or the field doesn't
+ * exist.
*
- * The timestamps that have not yet been set to their final value
- * will be returned as `NSNull`. The can use `get(_:options:)` to
- * configure this behavior.
+ * The timestamps that have not yet been set to their final value will be returned as `NSNull`. The
+ * can use `get(_:options:)` to configure this behavior.
*
* @param field The field to retrieve.
* @return The value contained in the field or `nil` if the document or field doesn't exist.
@@ -136,17 +133,15 @@ NS_SWIFT_NAME(DocumentSnapshot)
- (nullable id)valueForField:(id)field NS_SWIFT_NAME(get(_:));
/**
- * Retrieves a specific field from the document. Returns `nil` if the document or the
- * field doesn't exist.
+ * Retrieves a specific field from the document. Returns `nil` if the document or the field doesn't
+ * exist.
*
- * The timestamps that have not yet been set to their final value
- * will be returned as `NSNull`. The can use `get(_:options:)` to
- * configure this behavior.
+ * The timestamps that have not yet been set to their final value will be returned as `NSNull`. The
+ * can use `get(_:options:)` to configure this behavior.
*
* @param field The field to retrieve.
- * @param options `SnapshotOptions` to configure how data is returned from the
- * snapshot (e.g. the desired behavior for server timestamps that have not
- * yet been set to their final value).
+ * @param options `SnapshotOptions` to configure how data is returned from the snapshot (e.g. the
+ * desired behavior for server timestamps that have not yet been set to their final value).
* @return The value contained in the field or `nil` if the document or field doesn't exist.
*/
// clang-format off