I am using UICollectionView using the flow layout. I have made a custom UICollectionViewCell for the same. But on running the project the console k
UICollectionView
UICollectionViewCell
I just ran into the same error message, but for me the issue was that when I received new data from the api and tried to refresh my collectionView, the method that called [collectionView reloadData] wasn't calling it on the main thread.
[collectionView reloadData]
Hope this helps someone...