crash at self.selectionDelegate didDeselectItemAtIndex:
New issue checklist
new to check delgate method exist first, because it's optional.
- [ ] I have reviewed the
READMEand documentation - [ ] I have searched existing issues and this is not a duplicate
General information
IGListKitversion:- iOS version(s):
- CocoaPods/Carthage version:
- Xcode version:
- Devices/Simulators affected:
- Reproducible in the demo project? (Yes/No):
- Related issues:
Debug information
# Please include debug logs using the following lldb command:
po [IGListDebugger dump]
@mahomealex can you provide more detail? At the very least we need a stack trace.
@rnystrom do we check respondsToSelector: for this method?
@jessesquires actually for the binding SC we don't:
https://github.com/Instagram/IGListKit/blob/6540f960e2e69bd4776e1e1d8c460ff812ba4c07/Source/IGListBindingSectionController.m#L127
For IGListSectionController it doesn't matter since it's in the base class.
Should we fix and push 3.1.1 for this? Kind of bad.
ooof. @rnystrom yeah let's push 3.1.1
Aight I'll PR the fix then follow up with cutting new version
@rnystrom Just subclass a SectionController and set ListBindingSectionControllerSelectionDelegate. Since It's optional, means does't need to implement, so base class have to check first. Btw, will IGList provide a waterFall extension with different ratio and column count? I have write one in swift, it's necessary and not that easy.