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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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