Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Conversation

levi
Copy link
Contributor

@levi levi commented Dec 7, 2015

Fixes #893

@appleguy
Copy link
Contributor

appleguy commented Dec 7, 2015

Fantastic, thanks for the ultra fast turnaround @levi! Getting this into 1.9.3 because of your Sunday night work. Community dedication right there :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this potentially get called multiple times, and need to recreate the _pendingNodes and _pendingIndexPaths dictionaries?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pending dictionaries exist to keep the pending state between the prepare and will methods. I've set them up to be created at initialization such that they'll remain throughout the lifetime of the collection data controller. Their contents are cleared out at the end of the will methods.

appleguy added a commit that referenced this pull request Dec 7, 2015
Ensure that newly inserted section supplementary nodes are added to backing store
@appleguy appleguy merged commit f6cc206 into facebookarchive:master Dec 7, 2015
peter-iakovlev pushed a commit to peter-iakovlev/AsyncDisplayKit that referenced this pull request Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants