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 'Invalid update' crash when removing all cells in tableview. #22

Closed
wants to merge 4 commits into from

Conversation

beng341
Copy link

@beng341 beng341 commented Jan 20, 2016

When implementing a SearchBar and updating the results, a crash occurs with the message:

"Invalid update: invalid number of sections. The number of sections contained in the table view after the update must be equal to the number of sections contained in the table view before the update, plus or minus the number of sections inserted or deleted."

@nghialv
Copy link
Owner

nghialv commented Mar 15, 2016

Thanks for your PR. This bug has been fixed in the newest version. Please try it.

@nghialv nghialv closed this Mar 15, 2016
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.

None yet

2 participants