Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Insertion Indices #7

Merged
merged 9 commits into from
Jan 5, 2016
Merged

Fix Insertion Indices #7

merged 9 commits into from
Jan 5, 2016

Conversation

osteslag
Copy link
Owner

@osteslag osteslag commented Jan 5, 2016

Fixes #2 by conforming to the principles outlined under Batch Insertion, Deletion, and Reloading of Rows and Sections in Apple’s Table View Programming Guide for iOS.

Joachim Bondo added 9 commits January 5, 2016 08:04
This reflects how UITableView wants its changes applied within a
beginUpdates/endUpdates block.

Tests are updated to reflect how first deletions are made, then
insertions and substitutions. Note, indices for a .Move correspond to
those of a separate delete and insert.

Fixes #2.
Wouldn't mind to have his whole test suite to be honest.
@osteslag osteslag self-assigned this Jan 5, 2016
osteslag pushed a commit that referenced this pull request Jan 5, 2016
@osteslag osteslag merged commit bba756b into master Jan 5, 2016
@osteslag osteslag deleted the osteslag/fix-insertion-indices branch January 5, 2016 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant