CollectionViewDataSource
public class CollectionViewDataSource<CellConfiguratorType: NSObject>: NSObject,
UICollectionViewDataSource,
UICollectionViewDelegateFlowLayout
where
CellConfiguratorType: UICollectionViewCellConfigurable
Undocumented
-
Undocumented
Declaration
Swift
var data: [CellConfiguratorType.Model]? { get set } -
Undocumented
Declaration
Swift
weak var collectionView: UICollectionView? { get set } -
Undocumented
Declaration
Swift
var cellConfigurator: CellConfiguratorType? -
Undocumented
Declaration
Swift
init( cellConfigurator: CellConfiguratorType? ) -
Undocumented
Declaration
Swift
func setup() -
Undocumented
Declaration
Swift
public func numberOfSections(in collectionView: UICollectionView) -> Int -
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int -
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
View on GitHub
CollectionViewDataSource Class Reference