Trying to add a a Supplementary view into my UICollectionView as a header. I\'m having issues getting it to work.
UICollectionView
I use a custom UICollectionViewFlowL
UICollectionViewFlowL
If you look at the error message, it says that the data source is not set. This should fix it:
self.collectionView.dataSource = self;
Make sure your view controller implements the data source protocol:
YourViewController : UIViewController