Differific alternatives and similar libraries
Based on the "Data Structures / Algorithms" category.
Alternatively, view Differific alternatives based on common mentions on social networks and blogs.
-
Dollar
A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript -
Result
Swift type modelling the success/failure of arbitrary operations. -
SwiftStructures
Examples of commonly used data structures and algorithms in Swift. -
DeepDiff
🦀Amazingly incredible extraordinary lightning fast diffing in Swift -
Algorithm
Algorithm is a library of tools that is used to create intelligent applications. -
Differ
Swift library to generate differences and patches between collections. -
KeyPathKit
KeyPathKit is a library that provides the standard functions to manipulate data along with a call-syntax that relies on typed keypaths to make the call sites as short and clean as possible. -
SwiftPriorityQueue
A Generic Priority Queue in Pure Swift -
Buffer
Swift μ-framework for efficient array diffs and datasource adapters. -
BinaryKit
💾🔍🧮 BinaryKit helps you to break down binary data into bits and bytes, easily access specific parts and write data to binary. -
Brick
:droplet: A generic view model for both basic and complex scenarios -
AnyObjectConvertible
Convert your own struct/enum to AnyObject easily. -
HAMT (for Swift)
An implementation of HAMT data-structure in Swift -
RandMyMod
RandMyMod base on your own struct or class create one or a set of instance, which the variable's value in the instance is automatic randomized. -
OneWaySynchronizer
The simplest abstraction to synchronize local data with remote source. For iOS, wirtten in swift.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Differific or a related project?
README
Differific
Description
Differific is a diffing tool that helps you compare Hashable objects using the Paul Heckel's diffing algorithm. Creating a changeset is seamless for all your diffing needs. The library also includes some convenience extensions to make life easier when updating data sources.
The library is based and highly influenced by Matias Cudich's (@mcudich) HeckelDiff library that aims to solve the same issue. Versions prior to 0.3.0 was based on DeepDiff. For more information about how the algorithm works and the performance of the algorithm, head over to DeepDiff. For the time being, both frameworks are very similar; this is subject to change when the frameworks evolve.
Features
- [x] 🍩Built-in extensions for updating table & collection views.
- [x] 🎩Customizable diffing.
- [x] 🏎High performance.
- [x] 📱iOS support.
- [x] 💻macOS support.
- [x] 📺tvOS support.
Usage
Diffing two collections
let old = ["Foo", "Bar"]
let new = ["Foo", "Bar", "Baz"]
let manager = DiffManager()
let changes = manager.diff(old, new)
Updating a table or collection view
// uiElement is either your table view or collection view.
let old = dataSource.models
let new = newCollection
let changes = DiffManager().diff(old, new)
uiElement.reload(with: changes, before: { dataSource.models = new })
Installation
Differific is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Differific'
Differific is also available through Carthage. To install just write into your Cartfile:
github "zenangst/Differific"
Differific can also be installed manually. Just download and drop Sources
folders in your project.
Author
- Christoffer Winterkvist, [email protected]
- Khoa Pham, [email protected]
Contributing
We would love you to contribute to Differific, check the CONTRIBUTING file for more info.
License
Differific is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the Differific README section above
are relevant to that project's source code only.