File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
- - [ fixed] Add an NS_SWIFT_NAME for FIRSnapshotMetadata
2
+ - [ fixed] Add an NS_SWIFT_NAME for FIRSnapshotMetadata and FIRListenerRegistration
3
3
4
4
# 2017-10-03 -- v0.8.0
5
5
- Initial public release.
Original file line number Diff line number Diff line change @@ -274,10 +274,6 @@ func transactions() {
274
274
}
275
275
276
276
func types( ) {
277
- // Just highlighting the types of everything, though devs can/will often omit them.
278
- // This list comes from:
279
- //
280
- // grep -r ^FIR_SWIFT_NAME Firestore/Source/Public | sed 's/.*(/let _: /; s/)/;/'
281
277
let _: CollectionReference ;
282
278
let _: DocumentChange ;
283
279
let _: DocumentListenOptions ;
@@ -288,9 +284,11 @@ func types() {
288
284
let _: Firestore ;
289
285
let _: FirestoreSettings ;
290
286
let _: GeoPoint ;
287
+ let _: ListenerRegistration ;
291
288
let _: QueryListenOptions ;
292
289
let _: Query ;
293
290
let _: QuerySnapshot ;
291
+ let _: SetOptions ;
294
292
let _: SnapshotMetadata ;
295
293
let _: Transaction ;
296
294
let _: WriteBatch ;
Original file line number Diff line number Diff line change 16
16
17
17
#import < Foundation/Foundation.h>
18
18
19
+ #import " FIRFirestoreSwiftNameSupport.h"
20
+
19
21
NS_ASSUME_NONNULL_BEGIN
20
22
21
23
/* * Represents a listener that can be removed by calling remove. */
24
+ FIR_SWIFT_NAME (ListenerRegistration)
22
25
@protocol FIRListenerRegistration <NSObject>
23
26
24
27
/* *
Original file line number Diff line number Diff line change 16
16
17
17
#import < Foundation/Foundation.h>
18
18
19
+ #import " FIRFirestoreSwiftNameSupport.h"
20
+
19
21
NS_ASSUME_NONNULL_BEGIN
20
22
21
23
/* *
@@ -24,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
24
26
* `FIRWriteBatch` and `FIRTransaction` can be configured to perform granular merges instead
25
27
* of overwriting the target documents in their entirety.
26
28
*/
27
- NS_SWIFT_NAME (SetOptions)
29
+ FIR_SWIFT_NAME (SetOptions)
28
30
@interface FIRSetOptions : NSObject
29
31
30
32
/* * */
You can’t perform that action at this time.
0 commit comments