From the UICollectionView docs (emphasis my own)
Return Value
The cell object at the corresponding index path or nil if the cell is not visible or indexPath is out of range.
You should update your underlying model, which provides the data to the views.