Skip to content

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

@laevandus

Description

@laevandus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions