Dequeue CollectionView Cell

could not dequeue a view of kind: UICollectionElementKindCell with identifier OnBoardingCollectionViewCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard

Welcome to the community!

You haven’t registered the cell for the table view

tableView.register(OnBoardingCollectionViewCell.self, “identifierName”)

I think is the code, it’s definitely .register Function for the table view

1 Like

ops! thank you i forget to call func that i created

1 Like