Contents

dequeueConfiguredReusableSupplementary(using:for:)

Dequeues a configured reusable supplementary view object.

Declaration

@MainActor @preconcurrency func dequeueConfiguredReusableSupplementary<Supplementary>(using registration: UICollectionView.SupplementaryRegistration<Supplementary>, for indexPath: IndexPath) -> Supplementary where Supplementary : UICollectionReusableView

Parameters

  • registration:

    The supplementary registration for configuring the supplementary view object. See Supplementaryregistration.

  • indexPath:

    The index path that specifies the location of the supplementary view in the collection view.

Return Value

A configured reusable supplementary view object.

See Also

Creating headers and footers