Ara*_*him 3 ios uicollectionview
我想创建一个单元格对象的副本.以下是我的代码,但检索copyWithZone:]:发送到实例的无法识别的选择器
CollectionCell *cell = [cv dequeueReusableCellWithReuseIdentifier:@"KCell" forIndexPath:indexPath];
if(kCell == nil)
{
cell = [self getiPadCell:indexPath cv:cv dict:dict];
kCell = cell;
return cell;
}
else
{
cell = [kCell copy];
return cell;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4158 次 |
| 最近记录: |