What I mean is using the native UICollectionViewDataSource methods that can be overridden to display an index view: indexTitles(for:) and collectionView(_:indexPathForIndexTitle:at:). These are supported since iOS 14.
See "Configuring an Index" here: https://developer.apple.com/documentation/uikit/uicollectionviewdatasource
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: