I would like to use BWOrderedManagedObject
to store an array of ordered objects in Core Data, using NSFetchedResultsController
for displaying the data.
However, all of BWOrderedManagedObject
's methods seem to simply return an array of ordered objects; NSFetchedResultsController
requires an NSFetchRequest
, and the only way to sort an NSFetchRequest
is to provide an array of NSSortDescriptors
.
So, I'm a bit stuck here as to how to use BWOrderedManagedObject
with NSFetchedResultsController
—does anyone know how I might be able to successfully do this?
(I could probably create my own ordering key and use this with the sort descriptors, but I'm assuming that BWOrderedManagedObject
would be more robust...?)