If you look at the headers UICollectionViewCell and UITableViewCell, you can see that they are not subclasses of the common base class. Therefore, you cannot use TableCells instead of CollectionCells. You will need to create a new CollectionCell.
source
to share