This repository was archived by the owner on Jun 27, 2020. It is now read-only.
File tree 1 file changed +19
-7
lines changed
1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 1
1
// UICollectionViewDataSource
2
- // Placeholders for the required UICollectionViewDataSource methods
2
+ // Placeholders for essential UICollectionViewDataSource delegate methods
3
3
//
4
4
// Platform: iOS
5
5
// Language: Objective-C
6
6
// Completion Scope: Class Implementation
7
7
8
8
#pragma mark - UICollectionViewDataSource
9
- - (NSInteger )collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger )section {
10
-
9
+
10
+ - (NSInteger )collectionView:(UICollectionView *)collectionView
11
+ numberOfItemsInSection:(NSInteger )section
12
+ {
11
13
return <#numberOfItemsInSection#>;
12
14
}
13
- - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
14
-
15
+
16
+ - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView
17
+ cellForItemAtIndexPath:(NSIndexPath *)indexPath
18
+ {
15
19
UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier: <#reuseIdentifier#> forIndexPath: indexPath];
16
-
20
+
21
+ [self configureCell: cell forItemAtIndexPath: indexPath];
22
+
17
23
return cell;
18
- }
24
+ }
25
+
26
+ - (void )configureCell:(UICollectionViewCell *)cell
27
+ forItemAtIndexPath:(NSIndexPath *)indexPath
28
+ {
29
+ <# statements #>
30
+ }
You can’t perform that action at this time.
0 commit comments