I created a UICollectionView
inside a UITableViewCell
and a separate data-source class DataSource
for this collection-view.
DataSource
conforms to the UICollectionViewDataSource
protocol and I have also assigned the dataSource
of an instance of DataSource
in my collection-view container class.
But none of the data-source methods in DataSource
are getting called.
It was working fine before I created a separate class for UICollectionView
data-source.