How to set datasource for UICollectionviewcell and title iOS swift?
Problem:
I want to set the datasource to the collectionview with rxswift to set the title also
Solution:
private lazy var dataSource = RxTableViewSectionedReloadData
ds, index in
return ds.sectionModels[index].model.
})
The above datasource will return the title for the collectionview section.
Comments
Post a Comment