konstantinpavlikhin / kspfetchedresultscontroller Goto Github PK
View Code? Open in Web Editor NEWThe most advanced NSFetchedResultsController reimplementation for a desktop Cocoa.
License: MIT License
The most advanced NSFetchedResultsController reimplementation for a desktop Cocoa.
License: MIT License
[object valueForKeyPath: self.sectionNameKeyPath];
😔
Right now there are many useful comments but for the most part they are in Russian.
[An O(ND) Difference Algorithm and Its Variations](An O%28ND%29 Difference Algorithm and Its Variations)
-[NSManagedObject isEqual:] is implemented as a simple pointer comparison anyways.
Right now I have no idea how to fix this issue in an efficient way. And to be honest, I am not sure that this change is even required as long as iOS NSFetchedResultsController have the same behaviour.
No demo project added. Please add a demo project!
KSPFetchedResultsController
merges the changes from the NSManagedObjectContextObjectsDidChangeNotification
. The chosen way is better for NSTableView
pairing, but may be a little confusing for the NSFetchedResultsController
users.KSPFetchedResultsControllerDelegate
is notified not only about changes that already took place, but also about changes that are going to happen.KSPSectionedFetchedResultsController
uses NSObjects
as 'names' for its sections as opposed for NSStrings
used by NSFetchedResultsController
.KSPFetchedResultsController
uses plain indices instead if index paths used by NSFetchedResultsController
. Again, this is better for NSTableView
pairing. Because of this the KSPSectionedFetchedResultsControllerDelegate
method that is called on object change has completely different signature.KSPSectionedFetchedResultsController
has three possible events: section insertion, section movement and section deletion. Again, delegate method signature is a little different, and a separate enum (KSPSectionedFetchedResultsChangeType
) is used to define possible sections changes.NSCollectionViewDataSource and NSCollectionViewDelegate are modelled on index paths.
Can you please add carthage support for macOS?
This happens because binary search is being performed on an array that no longer has a correct sorting order.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.