Can anyone recommend a NSFetchedResultsController clone for OS X?

I'm looking for an NSFetchedResultsController clone for OS X. I'd like to use the same design I'm already familiar with on both platforms. Can anyone recommend a good open source implementation of this? I'm looking for one that supports sections, I'm syncing it up with a NSCollectionView using the new API.

I'm attempting to use one open source clone of NSFetchedResultsController but I'm not getting proper results. "Move" change types are being reported as updates, and it also seems to be too slow to report updates, if you change a property that affects the sort order.

I've found some others, but couldn't find a sectioned one.


Here's what I'm thinking of trying to do, perhaps someone can let me know if this is a bad idea.


1) Create an SectionArrayController subclass of NSArrayController. Set its entity to the entity for the object that represents the 'sections'.

2). KVO arrangedArranges within my view controller, and reload my user interface when changes are detected.


The problem with this is, SectionArrayController does not report child object changes, when a object is added to the section. So if you add a object to a given section (a to many relationship), you won't get the change and the user interface will be out of sync.


So I'm thinking of adding another array controller as a property to the SectionArrayController subclass..and have the section array controller kvo the array controller for the items in the section...and programmatically calling a rearrangeObjects to force a refresh.


Kind of ugly set up, but I guess it's better than reinventing the wheel and writing my own fetched results controller from scratch.


Would be triple sweet if bindings supported sections.

> I've found some others, but couldn't find a sectioned one.

Take a look at KSPSectionedFetchedResultsController:

https://github.com/konstantinpavlikhin/KSPFetchedResultsController

Can anyone recommend a NSFetchedResultsController clone for OS X?
 
 
Q