IGListKit
IGListKit copied to clipboard
crash in invalidateLayoutForSectionController:completion:
New issue checklist
- [✅ ] I have reviewed the
READMEand documentation - [ ✅] I have searched existing issues and this is not a duplicate
- [ ❎] I have attempted to reproduce the issue and include an example project.
General information
A cell contains images so i want to change cell's height by calling invalidateLayoutForSectionController:completion: . But It crashed because section of the sectionController is not found in sectionControllerToSectionMap. I noticed it guarded the result in the old version before calling [_collectionView numberOfItemsInSection:section]. I'm wondering why you removed this .
IGListKitversion: 4.0.0- iOS version(s): 14.4.2
- CocoaPods/Carthage version: 1.10.1
- Xcode version: 12.5
- Devices/Simulators affected: iPhone10,5
- Reproducible in the demo project? (Yes/No):No
- Related issues:
Debug information
request for number of items in section 9223372036854775807 when there are only 6 sections in the collection view
# Please include debug logs using the following lldb command:
po [IGListDebugger dump]
这个库还有在维护吗?
I noticed 4.1.0 resolved this problem but it has 't been released.
@ishall1 Have you ever found a solution to this problem? We're getting this crash on iOS 17.x and can reproduce by reloading / removing views.
@ishall1 Have you ever found a solution to this problem? We're getting this crash on iOS 17.x and can reproduce by reloading / removing views.
We worked around this bug by refreshing the entire list. The cost can be accepted in our case ☺.