Instagram / Instagram/IGListKit
Achieve UICollectionView's behaviour of allowsMultipleSelection = false
- Dominant language
- Objective-C
- Stars
- 13.1k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
## New issue checklist
- [x] I have reviewed the [`README`](https://github.com/Instagram/IGListKit/blob/master/README.md) and [documentation](http://instagram.github.io/IGListKit)
- [x] I have searched [existing issues](https://github.com/Instagram/IGListKit/issues) and this is not a duplicate
I am using EmbeddedSection Controller for showing horizontal scrolling list.
I want to have just one selected cell in the horizontal list. (and deselect others when one is selected)
I can see there are two approaches:
1. Iterate over SCs and see which are selected
2. Create delegate that forwards selections/deselections.
However, in a discussion of #184, @rnystrom has mentioned that they are trying to bake support into IGListKit.
What is the best way to do it now? Is there an example?
Contributor guide
Assessment
This issue has not been assessed yet.