NSCollectionLayoutGroupCustomItemProvider
A closure that creates and returns each of the custom group’s items.
Declaration
typealias NSCollectionLayoutGroupCustomItemProvider = (any NSCollectionLayoutEnvironment) -> [NSCollectionLayoutGroupCustomItem]Discussion
You use a custom item provider to supply the item arrangement when creating a group using the custom(layoutSize:itemProvider:) initializer.