does not have a reuseIdentifier - cells must be retrieved by calling -dequeueReusableCellWithReuseIdentifier:forIndexPath swift
Problem:
While run the collectionview with headers it shows the below error
does not have a reuseIdentifier - cells must be retrieved by calling -
func configCell(message: String, atIndex: IndexPath) -> UICollectionViewCell {
return UICollectionViewCell()
}
Solution:
Because it have no cell.That's why it shows exception
func configCell(message: String, atIndex: IndexPath) -> UICollectionViewCell {
guard let cell = self.CollView.dequeueReu
return UICollectionViewCell()
}
return cell
}
Comments
Post a Comment