Instagram/IGListKit
Vedi su GitHubExpose UICollectionViewDataSource methods `indexTitlesForCollectionView:` and `indexPathForIndexTitle:atIndex:`
Open
#1140 aperta il 28 mar 2018
enhancementhelp wanted
Metriche repository
- Star
- (13.063 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
New issue checklist
- I have reviewed the
READMEand documentation - I have searched existing issues and this is not a duplicate
General information
IGListKitversion: All- iOS version(s): All
- CocoaPods/Carthage version: N/A
- Xcode version: N/A
- Devices/Simulators affected: N/A
- Reproducible in the demo project? (Yes/No): N/A
- Related issues: N/A
Debug information
# Please include debug logs using the following lldb command:
po [IGListDebugger dump]
Hello! I would like to propose a feature to expose the optional methods on UICollectionViewDataSource - indexTitlesForCollectionView: and indexPathForIndexTitle:atIndex:
These methods are used to implement what I would call the 'fast-jump scroll bar' on collection / table views. I'm not sure what it's actually called but a good example of this can be found on the right side of the contacts tab of the iOS contacts app.
Open to any suggestions on the best way to do this, or potential workarounds! Thanks.