Dwifft is a small Swift library that tells you what the "diff" is between two collections, namely, the series of "edit operations" required to turn one into the other. It also comes with UIKit bindings, to automatically, animatedly keep a UITableView/UICollectionView in sync with a piece of data by making the necessary row/section insertion/deletion calls for you as the data changes. Dwifft is a Swift library that does two things. The first thing sounds interesting but perhaps only abstractly useful, and the other thing is a very concretely useful thing based off the first thing. It can help you build a substantially better user experience if you have table/collection views with dynamic content in your app. There is some non-trivial index math inside of this diff algorithm that is easy to screw up. Dwifft has 100% test coverage on all of its core algorithms.

Features

  • Dwifft is fast
  • It almost certainly won't be the bottleneck in your UI code
  • Dwifft believes in the unix philosophy of small, easily-composed tools
  • It can actually achieve nice goals like 100% test and documentation coverage
  • Dwifft has 100% test coverage on all of its core algorithms
  • Build a substantially better user experience if you have table/collection views with dynamic content in your app

Project Activity

See All Activity >

Categories

Algorithms

License

MIT License

Follow Dwifft!

Dwifft! Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Dwifft!!

Additional Project Details

Operating Systems

Mac

Programming Language

Swift

Related Categories

Swift Algorithms

Registered

2022-02-24