Learn Courses My Dashboard

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