diff options
author | Ryan Wilson <wilsonryan@google.com> | 2017-11-28 06:59:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 06:59:07 -0800 |
commit | 7386f00178be4fe1f8d8f749049d25cbf0533e6a (patch) | |
tree | 02ba61c9cda5c439b4b991c7286f93ea8512bbea /Firestore/Source/Public/FIRFieldValue.h | |
parent | 7459be46ffb27bc95e155a1b267f91093f1a62b0 (diff) |
Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. (#476)
* Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME.
This pushes the minimum Xcode version to 7.3, as NS_SWIFT_NAME was
limited before that version (which is why the macro was introduced in
the first place).
* Fixed FIRMessaging header
Diffstat (limited to 'Firestore/Source/Public/FIRFieldValue.h')
-rw-r--r-- | Firestore/Source/Public/FIRFieldValue.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Firestore/Source/Public/FIRFieldValue.h b/Firestore/Source/Public/FIRFieldValue.h index f7d19f0..11a0da0 100644 --- a/Firestore/Source/Public/FIRFieldValue.h +++ b/Firestore/Source/Public/FIRFieldValue.h @@ -16,14 +16,12 @@ #import <Foundation/Foundation.h> -#import "FIRFirestoreSwiftNameSupport.h" - NS_ASSUME_NONNULL_BEGIN /** * Sentinel values that can be used when writing document fields with setData() or updateData(). */ -FIR_SWIFT_NAME(FieldValue) +NS_SWIFT_NAME(FieldValue) @interface FIRFieldValue : NSObject /** */ @@ -31,14 +29,14 @@ FIR_SWIFT_NAME(FieldValue) /** Used with updateData() to mark a field for deletion. */ // clang-format off -+ (instancetype)fieldValueForDelete FIR_SWIFT_NAME(delete()); ++ (instancetype)fieldValueForDelete NS_SWIFT_NAME(delete()); // clang-format on /** * Used with setData() or updateData() to include a server-generated timestamp in the written * data. */ -+ (instancetype)fieldValueForServerTimestamp FIR_SWIFT_NAME(serverTimestamp()); ++ (instancetype)fieldValueForServerTimestamp NS_SWIFT_NAME(serverTimestamp()); @end |