美文网首页
dequeueReusableCellWithReuseIden

dequeueReusableCellWithReuseIden

作者: Happy195 | 来源:发表于2018-04-28 10:02 被阅读0次

- (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;

}

相关文章

网友评论

      本文标题:dequeueReusableCellWithReuseIden

      本文链接:https://www.haomeiwen.com/subject/tagwlftx.html