Instagram / Instagram/IGListKit

IGListBindingSectionController Should Support Section Reloads

Open
#621 1 comment 1 reaction 1 assignee Claimed by @rnystrom View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.