CollectionController

public protocol CollectionController: UICollectionViewDataSource,
    UICollectionViewDelegate,
    UISearchBarDelegate,
ContentController

Respresents a type for providing data and handling actions for a CollectionViewController.

  • The collection view to associate with as the data source and delegate of it.

    Declaration

    Swift

    var collectionView: UICollectionView? { get set }