Skip to main content

The fastest Diff and patch library in Swift to apply data changes in UICollectionView or UITableView

This library generates differences between any two Collections (and Strings). It uses a fast algorithm (O((N+M)*D)).

Features

Diff.swift supports three types of operations:

  • Insertions
  • Deletions
  • Moves (use ExtendedDiff)
  • Arbitrary sorting of the Patch
  • Utilities for UITableView and UICollectionView (if that's just what you want, skip to examples)
  • ⚡️ fast
  • Diffing collections containing collections (use NestedDiff)

GitHub / Wokalski / Diff

Comments