Contents

dequeueConfiguredReusableCellWithRegistration:forIndexPath:item:

Dequeues a configured reusable cell object.

Declaration

- (UICollectionViewCell *) dequeueConfiguredReusableCellWithRegistration:(UICollectionViewCellRegistration *) registration forIndexPath:(NSIndexPath *) indexPath item:(id) item;

Parameters

  • registration:

    The cell registration for configuring the cell object. See Uicollectionviewcellregistration.

  • indexPath:

    The index path that specifies the location of the cell in the collection view.

  • item:

    The item that provides data for the cell.

Return Value

A configured reusable cell object.

See Also

Creating cells