We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: https://developer.apple.com/documentation/uikit/uicollectionviewdatasource#2851612
optional func indexTitles(for collectionView: UICollectionView) -> [String]? optional func collectionView(_ collectionView: UICollectionView, indexPathForIndexTitle title: String, at index: Int) -> IndexPath
This will need to be implemented at the CollectionViewModel level.
CollectionViewModel
Maybe we wrap this functionality in a new protocol, pass that in, then call these methods via the data source implementation.
Rough example:
protocol IndexTitleViewModel { var indexTitles: [String]? { get } func indexPathForIndexTitle(_ title: String, at index: Int) -> IndexPath }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Docs: https://developer.apple.com/documentation/uikit/uicollectionviewdatasource#2851612
This will need to be implemented at the
CollectionViewModel
level.Maybe we wrap this functionality in a new protocol, pass that in, then call these methods via the data source implementation.
Rough example:
The text was updated successfully, but these errors were encountered: