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

removeRows not working properly with multiple indexes #30

Open
leverdeterre opened this issue May 29, 2024 · 1 comment
Open

removeRows not working properly with multiple indexes #30

leverdeterre opened this issue May 29, 2024 · 1 comment

Comments

@leverdeterre
Copy link

It's not removing all the indexes

A workaround for me is to use a loop on a unit removeRow

removeRow(index: Int, animated: Bool = false) -> UIViewController? {
@leverdeterre
Copy link
Author

My second workaround was to reverse my indexes to be removed
Like this it probably keep the index correct while removing the elements one by one

@leverdeterre leverdeterre changed the title removeRows not working with multiple indexes removeRows not working properly with multiple indexes May 29, 2024
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

No branches or pull requests

1 participant