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 : UICollectionReusableViewParameters
- 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.