From 4dd7ec8e4d6243820d4f877ccfd76c5b4a076dd5 Mon Sep 17 00:00:00 2001 From: Gil Date: Wed, 4 Oct 2017 20:45:10 -0700 Subject: Add an NS_SWIFT_NAME for FIRSnapshotMetadata (#334) Fixes b/67332554 Note that this is a breaking change for Swift users of the API. --- Firestore/Example/SwiftBuildTest/main.swift | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'Firestore/Example/SwiftBuildTest/main.swift') diff --git a/Firestore/Example/SwiftBuildTest/main.swift b/Firestore/Example/SwiftBuildTest/main.swift index ff6c0dd..3b8219b 100644 --- a/Firestore/Example/SwiftBuildTest/main.swift +++ b/Firestore/Example/SwiftBuildTest/main.swift @@ -275,10 +275,23 @@ func transactions() { func types() { // Just highlighting the types of everything, though devs can/will often omit them. - let _: Firestore; + // This list comes from: + // + // grep -r ^FIR_SWIFT_NAME Firestore/Source/Public | sed 's/.*(/let _: /; s/)/;/' let _: CollectionReference; + let _: DocumentChange; + let _: DocumentListenOptions; let _: DocumentReference; - let _: Query; let _: DocumentSnapshot; + let _: FieldPath; + let _: FieldValue; + let _: Firestore; + let _: FirestoreSettings; + let _: GeoPoint; + let _: QueryListenOptions; + let _: Query; let _: QuerySnapshot; + let _: SnapshotMetadata; + let _: Transaction; + let _: WriteBatch; } -- cgit v1.2.3