UICollectionView

Undocumented

  • Register given UICollectionViewCell in collectionView. Cell will be registered with the name of it’s class as identifier.

    Declaration

    Swift

    public func register<T : UICollectionViewCell>(_: T.Type)
  • Register UICollectionViewCell from given nib in collectionView. Cell will be registered with the name of it’s class as identifier.

    Declaration

    Swift

    public func registerNib<T : UICollectionViewCell>(_: T.Type)
  • Dequeue cell of given class from tableView.

    Declaration

    Swift

    public func dequeue<T : UICollectionViewCell>(_: T.Type, indexPath: IndexPath) -> T