Skip to content

Conversation

@kandelvijaya
Copy link
Owner

Adds native support for getting UIKit specific diff. This can then be plugged into UITableView datasource or UICollectionView datasource (requires some plumbing work there performBatchUpdate { } ).

These below functions support the use of Diff naturally to UITableView or UICollectionView.
*/

internal func packingConsequetiveDeleteAddWithUpdate<T>(from diffResult: [DiffOperation<T>.Simple]) -> [DiffOperation<T>.Simple] {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add unit tests for this?

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.

2 participants