CreationKit Documentation

Class Collection​View​Component

open class CollectionViewComponent<Layout: ComponentLayout>: UICollectionViewCell, Registerable  

Generic UICollectionViewCell type that uses a ComponentLayout

CollectionViewComponent CollectionViewComponent UICollectionViewCell UICollectionViewCell CollectionViewComponent->UICollectionViewCell Registerable Registerable CollectionViewComponent->Registerable

Conforms To

UICollectionViewCell

Initializers

init(frame:​)

public override init(frame: CGRect)  

Creates a new Component.

init?(coder:​)

@available(iOS, unavailable, message: "Register and dequeue this type from a UITableView instead.")
  required public init?(coder aDecoder: NSCoder)  

Properties

layout

public let layout: Layout

The layout that was used to create the component.