Instagram / Instagram/IGListKit
IGListBindingSectionController Should Support Section Reloads
Open
enhancement
proposal
- Dominant language
- Objective-C
- Stars
- 13.1k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
There are legit reasons to reload an entire section, rather than just modifying the items in a section – for instance, triggering the supplementary elements in the section to get updated.
Right now `IGListBindingSectionController` will throw an exception if its section object is updated. Is there some alternative such as:
- Adding a class property to IGListBindingSectionController like `allowsObjectUpdates`?
- Users could just set it once of IGListBindingSectionController and suppress all those exceptions.
- Simply removing the assertion, maybe adding a one-time log?
Contributor guide
Assessment
This issue has not been assessed yet.