Background - Batch unfaulting:
NSFetchRequest allows batch unfault - for example, use a query of 1000 results, it would bring all as faults, then it would unfault X objects at a time (i.e. index 0-20, then 21-40, etc)
This behavior is great when used in NSFetchResultsController for a UITableViewDataSource, and it allows fast UI scrolling as it doesn't unfault objects one-by-one.
Now to my problem:
I'm using ordered relationships for lists of objects, let's say Posts.
Since a Post may appear on a lot of lists on my model, I can't store its index in every lists on Post entity and use it as a param for ordering results.
As for now, I haven't found a way for NSFetchRequest to fetch according to this order, so I can't use its batch unfaulting. So I'm addressing to the relationship with an index, and I end up unfaulting one-by-one, which causes bumpy scrolling.
Is there any way for NSFetchResultsController to fetch according to order relationships? Or, is there a batch unfaulting API which isn't private?