From 601c13b0fbdcd21e80b6f0d26fc26fc662417fcc Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 12 Dec 2017 08:20:59 +0800 Subject: Using 100 as line length for comments --- Firestore/Source/Public/FIRDocumentSnapshot.h | 33 ++++++++++++--------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'Firestore/Source/Public') 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 *)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 -- cgit v1.2.3