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

Use UITableView reconfigureRows and UICollectionView reconfigureItems for ChangeSet.elementUpdated #158

Open
2 tasks done
laevandus opened this issue Feb 2, 2024 · 0 comments

Comments

@laevandus
Copy link

laevandus commented Feb 2, 2024

Checklist

Description

Since iOS and tvOS 15 there are new reconfigureRows and reconfigureItems methods which do not trigger cell recreation. Gives better performance since cells are just updated, not recreated from scratch. Also useful since when there are multiple updates to the same index path, we do not run the reload cell animation.

Motivation and Context

  • Better performance and more pleasing UI updates

Proposed Solution

  • Use iOS 15 and tvOS 15 APIs for reconfiguring cells instead of reloading them on item updates.
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