File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,11 @@ didFailLoadAtIndex:(NSUInteger)index
101101 * view is in use.
102102 */
103103- (FUIIndexCollectionViewDataSource *)bindToIndexedQuery : (FIRDatabaseQuery *)index
104- data : (FIRDatabaseReference *)data
105- delegate : (id <FUIIndexCollectionViewDataSourceDelegate>)delegate
106- populateCell : (UICollectionViewCell *(^)(UICollectionView *view,
107- NSIndexPath *indexPath,
108- FIRDataSnapshot *_Nullable snap))populateCell ;
104+ data : (FIRDatabaseReference *)data
105+ delegate : (id <FUIIndexCollectionViewDataSourceDelegate>)delegate
106+ populateCell : (UICollectionViewCell *(^)(UICollectionView *view,
107+ NSIndexPath *indexPath,
108+ FIRDataSnapshot *_Nullable snap))populateCell __attribute__((warn_unused_result)) ;
109109
110110@end
111111
Original file line number Diff line number Diff line change @@ -123,11 +123,11 @@ - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView
123123@implementation UICollectionView (FUIIndexCollectionViewDataSource)
124124
125125- (FUIIndexCollectionViewDataSource *)bindToIndexedQuery : (FIRDatabaseQuery *)index
126- data : (FIRDatabaseReference *)data
127- delegate : (id <FUIIndexCollectionViewDataSourceDelegate>)delegate
128- populateCell : (UICollectionViewCell *(^)(UICollectionView *,
129- NSIndexPath *,
130- FIRDataSnapshot *))populateCell {
126+ data : (FIRDatabaseReference *)data
127+ delegate : (id <FUIIndexCollectionViewDataSourceDelegate>)delegate
128+ populateCell : (UICollectionViewCell *(^)(UICollectionView *,
129+ NSIndexPath *,
130+ FIRDataSnapshot *))populateCell {
131131 FUIIndexCollectionViewDataSource *dataSource =
132132 [[FUIIndexCollectionViewDataSource alloc ] initWithIndex: index
133133 data: data
You can’t perform that action at this time.
0 commit comments