collectionView
Swift declaration@MainActor func collectionView(_ collectionView: UICollectionView, appEntityIdentifierForItemAt indexPath: IndexPath) -> EntityIdentifier?Asks the data source to return an app entity identifier for a cell at a particular location in the collection view. For more information, refer to <doc:providing-contextual-cues-to-Apple-Intelligence-and-Siri> and <doc://com.apple.documentation/documentation/appintents>. - Parameters: - collectionView: The collection view asking for the app entity identifier. - indexPath: The index path that specifies the section and item number in the collection view. - Returns: The app entity identifier at the specified location in the collection view.