nsfetchedresultscontroller
Using NSFetchedResultsController outside of a UITableViewController
Would it be wrong to use NSFetchedResultsController outside of a UITableViewC开发者_Go百科ontroller, since non-UITableView controllers would be unable to implement the NSFetchedResultsControllerDelega[详细]
2023-02-19 20:49 分类:问答Why Can't I delete the bottom row of my UITableView?
When the user presses Edit, my UITableView adds an insert row at the top (with a green plus), and puts all the other rows into delete mode (red minus). Alternatively, the user can swipe-to-delete with[详细]
2023-02-19 14:00 分类:问答Core data - Building a NSPredicate from a ManyToMany relationship
This is a follow up question to my previous question on: Core data: Managing employee contracts in a many-to-many relationship?[详细]
2023-02-19 02:19 分类:问答NSFetchedResultsController - how does sectionNameForKeypath get its data?
I\'ve been having a few nightmares with NSFetchedResultsController and in trying to 开发者_如何学JAVAfind a solution to my problem outlined here, I came across something unusual about the data being f[详细]
2023-02-18 19:40 分类:问答iPhone: NSFetchedResultsController for each Entity?
I have three entities with one-to-many relationships (Book <--->> Page <--->> Text) I want to use one table view to present Book.titles, one table view for Page.no and one view to show the Text[详细]
2023-02-18 18:14 分类:问答How do I prevent cellForRowAtIndexPath being called for offscreen cells inserted by NSFetchedResultsChangeInsert & insertRowsAtIndexPaths
I am processing an XML and creating managedObjects asynchronously. I have a tableview which reacts to that by inserting cells with NSFetchedResultsChangeInsert.[详细]
2023-02-18 16:13 分类:问答NSFetchedResultsController cache mismatch again
This is another case where calling performFetch on an NSFetchedResultController breaks with an exception saying:[详细]
2023-02-18 05:36 分类:问答NSFetchedResultsController - My _sectionNameKeyPath_ is _nil_ !! Why am I getting this error when adding / deleting?
Classic case of the sections issue with NSFetchedResultsController and I am pulling my hair out. I have set the sectionNameKeyPath to NIL which I\'ve read is what you want for no sections (i.e 1 secti[详细]
2023-02-17 00:03 分类:问答NSFetchResultsController w/ NSPredicate (relationship) vs. Basic NSFetchRequest (Pic Included)
Here is an image of the relationship I am debating: I have a UIScrollView setup as a horizontal scroller that scrolls between 3 different UIViewControllers (containing a UITableView of course and th[详细]
2023-02-16 21:49 分类:问答NSFetchedResultCintroller with sections+ UITableView + 2 extra rows
I\'m trying to add two extra rows to my UITableView. Data comes from the FetchResultsController with sections. I have tried the tricks which normally works with Array but they don\'t with FetchResults[详细]
2023-02-16 20:54 分类:问答