1- #Firestore UI - UI Bindings for Cloud Firestore
1+ # Firestore UI - UI Bindings for Cloud Firestore
22
33Firestore UI provides a handful of classes that allow developers to easily bind
44UI elements to Cloud Firestore queries, and to update their UI elements when
55those queries change.
66
7- ##API Overview
7+ ## API Overview
88
99FUIFirestoreTableViewDataSource | Binds a Firestore query to a table view.
1010FUIFirestoreCollectionViewDataSource | Binds a Firestore query to a collection view.
1111FUIBatchedArray | Maintains a local array containing the contents of a Firestore query.
1212FUISnapshotArrayDiff | Describes an array update in a manner friendly to table and collection views.
1313
14- ####FUIFirestoreTableViewDataSource
14+ #### FUIFirestoreTableViewDataSource
1515
1616` FUIFirestoreTableViewDataSource ` is responsible for observing a Firestore query
1717and updating a UITableView as the query changes, suitable for single-section
@@ -30,7 +30,7 @@ self.dataSource = tableView.bind(to: query) { tableView, indexPath, snapshot in
3030}
3131```
3232
33- ####FUIFirestoreCollectionViewDataSource
33+ #### FUIFirestoreCollectionViewDataSource
3434
3535Like its table view counterpart, ` FUIFirestoreCollectionViewDataSource ` keeps a
3636Firestore query in sync with a collection view instance, suitable for
@@ -45,7 +45,7 @@ self.dataSource = collectionView.bind(to: query) { collectionView, indexPath, sn
4545}
4646```
4747
48- ####FUIBatchedArray
48+ #### FUIBatchedArray
4949
5050` FUIBatchedArray ` powers all of the updating logic in the data source classes
5151by generating diffs from the document change data in Firestore query snapshot
@@ -63,7 +63,7 @@ let array = FUIBatchedArray(query: query, delegate: self)
6363array.observeQuery ()
6464```
6565
66- ####FUISnapshotArrayDiff
66+ #### FUISnapshotArrayDiff
6767
6868This class and its helper classes are responsible for the diffing logic in
6969FirestoreUI. You should never have to use this directly, though all of the
0 commit comments