I have a SQLite-backed core data storage and would like to fetch a list of managed objects using NSFetchRequest. I want said list to be sorted by a boolean value that can be easily calculated at the d
I\'m writing an iOS app which has store of person records, and needs to display lists them sorted in particular ways. There are a variable number of these orderings, and they are generated on the fly,
I\'m trying to numerically sort data that\'s displayed in a UITableView. Before that I used such a sort descriptor:
I’ve included a placeholder [NSNull null] in my combobox datasource array so I can allow the user to select “none” without actually storing a blank object. The problem is that when a real object is
I want to provide custom sorting using NSFetchedResultsController and NSSortDescriptor. As custom sorting via NSSortDescriptor message -(id)initWithKey:ascending:selector: is not possible (see here),
I\'m using Core Data to cache a decent amount of information, and I have a To-Many relationship set up among my managed objects. Naturally I use an NSFetchRequest to fetch an array of the singular sid
I have two entities. Client and Project.A Client has many Projects, but a Project can only be assigned to one Client. This has been designed with the datamodel.
I am trying to group results returned by Core Data. I read that you need to use \"SortDescriptors\" with a selector but I cant seem to get it to work?
I have setup a data model where Student Entity has a name a 1-to-many relationship with Subject. Each Subject that he attends has a number of Class Times.
I\'m trying to use the NSFetchedResultsController in my app, but have a problem to sort my data. I get the following error when trying to sort the result using a relationship that is two levels down f