nsfetchedresultscontroller
NSFetchedResultsController `performFetch:` Results No Longer Sorted
I managed a tableview with NSFetchedResultsController whose fetch request uses a simple sort on a date attribute. It sorts properly when it first loads but when I refresh or call the loadMore method ([详细]
2023-04-05 17:04 分类:问答How to load section header dynamically like cells are loaded
I have a UITableView with a lot of rows and a lot of sections (over 500 sections). Having a lot of rows is not so bad, because only the visible rows are loaded using the dequeueReusableCellWithIdentif[详细]
2023-04-05 10:40 分类:问答NSFetchResultController Delegate Error
I have a couple of UIViewControllers that show a table view of my \'User\' objects as the section, and \'Site\' objects as rows under each section. The Site to User relationship is one-to-many.[详细]
2023-04-03 23:05 分类:问答Core Data deleting problem when closing app completely
Hi I do have a problem with my Core Data storage! I delete it the following way like I found it here an stack overflow:[详细]
2023-04-03 13:47 分类:问答Core Data sectioned TableView ordered wrong
i generate a tableview using core-data and a NSFetchedResultsController with sectionNameKeyPath. My Core-Data entities look fine, also in the SQL-Database the Data looks good.[详细]
2023-04-03 04:44 分类:问答Update old/new top/bottom cells' backgroundView when inserting/deleting top/bottom cells
This is the template code given in the doc of NSFetchedResultsControllerDelegate: - (void)controllerWillChangeContent:(NSFetchedResultsController *)controller {[详细]
2023-04-03 02:13 分类:问答NSFetchResultsController predicate problem
I\'m having problem how to formulate NSPredicate to get correct data. I have three entities (Offer, List, Item) and an entity OfferMatch wchich matches an offer for each pair (List, Item).[详细]
2023-04-01 21:19 分类:问答NSFetchedResultsController/NSFetchRequest vs. NSManagedObject's to-many relationship
I am presenting an NSManagedObject hierarchy (basically three levels) with different view controllers on iOS. The issue I don\'t completely understand is that if there is need for NSFetchedResultsCont[详细]
2023-04-01 14:24 分类:问答String sorting problem NSFetchedResultsController
I have set a string (which is in fact a string) as the sectionNameKeyPath. It\'s sorts fine, but for example 16 september 2011, is in an earlier section than 2 september 2011. What is the best way to[详细]
2023-04-01 11:06 分类:问答Does NSFetchedResultsController Observe All Changes to Persistent Store?
My program does work like link below: Update results of NSFetchedResultsController without a new fetch[详细]
2023-04-01 06:39 分类:问答