nsfetchrequest
UITableView not updating DataSource after change to NSFetchedResultsController
I have an UITableView populated by a NSFetchedResultsController. The initial fetch works fine. I can add, remove, modify, etc with zero problems.. But I want to add user-defined sorting to the table.[详细]
2023-01-07 10:29 分类:问答core data and paging
I have a database of 50,000 records.I\'m using core data to fet开发者_如何学Cch records from a search.A search could return 1000 records easily.What is neededto page through these records using core d[详细]
2023-01-03 17:52 分类:问答Variable Substitution with FetchRequests stored in a CoreData Model
I\'ve always created my NSFetchRequests entirely in-code.Now I\'m looking at the Xcode GUI for building a fetch request and storing it in the model.[详细]
2022-12-31 15:57 分类:问答Core Data: trying to find minimum date for an attribute in an entity
I\'m trying to find the oldest date in a particular attribute in Core Data.I\'ve found an example in the Core Data Programming Guide that purports to do exactly that, but keep getting an unrecognized[详细]
2022-12-30 00:50 分类:问答How to fetch managed objects sorted by calculated value
I\'m working on the app that uses CoreData. There is location entity that holds latitude and longitude values. I\'d like to fetch those entities sorted by distance to the user\'s location.[详细]
2022-12-29 18:38 分类:问答setIncludesSubentities: in an NSFetchRequest is broken for entities across multiple persistent stores
Prior art which doesn\'t quite address this: Core Data Migration error message "'Model does not contain configuration 'XYZ'.'"[详细]
2022-12-29 15:02 分类:问答iPhone NSCFString leaks in fetchRequest
In the following code: - (NSMutableArray *) fetchNotesForGroup: (NSString *)groupName { // Variables declaration[详细]
2022-12-27 06:51 分类:问答iPhone Development - Query related records using CoreData
I have a case where i have three entities with one-to-many a开发者_如何学Gond one-to-many relationships:[详细]
2022-12-26 05:41 分类:问答iphone, get the object count without performing a fetch?
I seem to recall that it\'s possible to return the resulting object count from an NSPredicate in CoreData without actually performing a fetch, but I can\'t find any reference to this.[详细]
2022-12-25 02:47 分类:问答NSFetchedResultsController fetch request - updating predicate and UITableView
In my iPhone Core Data app I have it configured in a master-detail view setup. The master view is a UITableView that lists objects of the List entity. The List entity has a to-many relationship with[详细]
2022-12-24 15:45 分类:问答