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
101
101
* view is in use.
102
102
*/
103
103
- (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)) ;
109
109
110
110
@end
111
111
Original file line number Diff line number Diff line change @@ -123,11 +123,11 @@ - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView
123
123
@implementation UICollectionView (FUIIndexCollectionViewDataSource)
124
124
125
125
- (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 {
131
131
FUIIndexCollectionViewDataSource *dataSource =
132
132
[[FUIIndexCollectionViewDataSource alloc ] initWithIndex: index
133
133
data: data
You can’t perform that action at this time.
0 commit comments