diff options
Diffstat (limited to 'Firestore/Source/Public/FIRFirestore.h')
-rw-r--r-- | Firestore/Source/Public/FIRFirestore.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Firestore/Source/Public/FIRFirestore.h b/Firestore/Source/Public/FIRFirestore.h index c31fef6..0935917 100644 --- a/Firestore/Source/Public/FIRFirestore.h +++ b/Firestore/Source/Public/FIRFirestore.h @@ -16,8 +16,6 @@ #import <Foundation/Foundation.h> -#import "FIRFirestoreSwiftNameSupport.h" - @class FIRApp; @class FIRCollectionReference; @class FIRDocumentReference; @@ -31,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN * `FIRFirestore` represents a Firestore Database and is the entry point for all Firestore * operations. */ -FIR_SWIFT_NAME(Firestore) +NS_SWIFT_NAME(Firestore) @interface FIRFirestore : NSObject #pragma mark - Initializing @@ -44,7 +42,7 @@ FIR_SWIFT_NAME(Firestore) * * @return The `FIRFirestore` instance. */ -+ (instancetype)firestore FIR_SWIFT_NAME(firestore()); ++ (instancetype)firestore NS_SWIFT_NAME(firestore()); /** * Creates, caches, and returns a `FIRFirestore` object for the specified _app_. Each subsequent @@ -56,7 +54,7 @@ FIR_SWIFT_NAME(Firestore) * * @return The `FIRFirestore` instance. */ -+ (instancetype)firestoreForApp:(FIRApp *)app FIR_SWIFT_NAME(firestore(app:)); ++ (instancetype)firestoreForApp:(FIRApp *)app NS_SWIFT_NAME(firestore(app:)); /** * Custom settings used to configure this `FIRFirestore` object. @@ -80,7 +78,7 @@ FIR_SWIFT_NAME(Firestore) * @return The `FIRCollectionReference` at the specified _collectionPath_. */ - (FIRCollectionReference *)collectionWithPath:(NSString *)collectionPath - FIR_SWIFT_NAME(collection(_:)); + NS_SWIFT_NAME(collection(_:)); /** * Gets a `FIRDocumentReference` referring to the document at the specified path within the @@ -91,7 +89,7 @@ FIR_SWIFT_NAME(Firestore) * * @return The `FIRDocumentReference` for the specified _documentPath_. */ -- (FIRDocumentReference *)documentWithPath:(NSString *)documentPath FIR_SWIFT_NAME(document(_:)); +- (FIRDocumentReference *)documentWithPath:(NSString *)documentPath NS_SWIFT_NAME(document(_:)); #pragma mark - Transactions and Write Batches |