- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
UICollectionViewCell *gridcell = nil;
if(indexPath.section == 0){
AIPerResumePreviewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:AIPerResumePreviewCellID forIndexPath:indexPath];
NSInteger iSection = indexPath.section;
NSMutableArray *arr = self.dataArr[iSection];
cell.model = arr[indexPath.row];
gridcell = cell;
}
return gridcell;
}
网友评论