@@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN
2828 * FUICollectionViewDataSource provides a class that conforms to the
2929 * UICollectionViewDataSource protocol which allows UICollectionViews to
3030 * adopt FUICollectionViewDataSource in order to provide a UICollectionView
31- * synchronized to a Firebase reference or query.
31+ * synchronized to a Firestore reference or query.
3232 */
3333@interface FUICollectionViewDataSource : NSObject <UICollectionViewDataSource>
3434
@@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN
7474 * Initialize an instance of FUICollectionViewDataSource that populates
7575 * UICollectionViewCells with FIRDataSnapshots.
7676 * @param collection A FUICollection that the data source uses to pull snapshots
77- * from Firebase Database .
77+ * from Cloud Firestore .
7878 * @param populateCell A closure used by the data source to create the cells that
7979 * are displayed in the collection view. This closure is retained by the data
8080 * source, so if you capture self in the closure and also claim ownership of the
@@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN
9090/* *
9191 * Initialize an unsorted instance of FUICollectionViewDataSource that populates
9292 * UICollectionViewCells with FIRDataSnapshots.
93- * @param query A Firebase query to bind the data source to.
93+ * @param query A Firestore query to bind the data source to.
9494 * @param populateCell A closure used by the data source to create the cells that
9595 * are displayed in the collection view. This closure is retained by the data
9696 * source, so if you capture self in the closure and also claim ownership of the
@@ -125,14 +125,14 @@ NS_ASSUME_NONNULL_BEGIN
125125 * Creates a data source, attaches it to the collection view, and returns it.
126126 * The returned data source is not retained by the collection view and must be
127127 * retained or it will be deallocated while still in use by the collection view.
128- * @param query A Firebase database query to bind the collection view to.
128+ * @param query A Cloud Firestore query to bind the collection view to.
129129 * @param populateCell A closure used by the data source to create the cells
130130 * displayed in the collection view. The closure is retained by the returned
131131 * data source.
132132 * @return The created data source. This value must be retained while the collection
133133 * view is in use.
134134 */
135- - (FUICollectionViewDataSource *)bindToQuery : (FIRDocumentSnapshot *)query
135+ - (FUICollectionViewDataSource *)bindToQuery : (FIRQuery *)query
136136 populateCell : (UICollectionViewCell *(^)(UICollectionView *collectionView,
137137 NSIndexPath *indexPath,
138138 FIRDocumentSnapshot *object))populateCell __attribute__((warn_unused_result));
0 commit comments