nsfetchedresultscontroller
Fetch Is Crashing App on ViewDidLoad
In my viewDidLoad, I have self.todaySession = (id)[fetchedResultsController objectAtIndexPath:[NSIndexPath indexPathForRow:0 inSect开发者_运维问答ion:0]]; which works fine when it finds this object.Bu[详细]
2023-03-24 14:14 分类:问答Need To Make Sure NSFetchResultsController Is Called
I have a NSFetchResultsController but I need to make sure 开发者_如何转开发it is called before a line in my viewDidLoad is called.[详细]
2023-03-24 03:00 分类:问答[ controllerWillChangeContent:]: message sent to deallocated instance
I am having a problem with my ipad app. I\'ve got a view that is accessed in 2 ways, if i go in one way it works perfectly.If I go in through another though, it crashes when saving the context.[详细]
2023-03-23 08:24 分类:问答CoreData crash while saving after setting value for NSManagedObject's property
I have a problem with saving CoreData. Main 3 things to remember: I\'m using NSFetchResultsController to populate my UITableView with data from CoreData[详细]
2023-03-23 02:31 分类:问答NSFetchedResultsController and Relationship
This time I get a strange behavior with N开发者_如何转开发SFetchedResultsController. I create a fetchRequest like this:[详细]
2023-03-22 22:59 分类:问答limit UITableView size
I\'m fetching two kinds of objects in Core Data, some girls and some boys. Each having a size and a born date.[详细]
2023-03-22 14:29 分类:问答Get parent-child array from coredata
I have a CoreData model that can contain an infinite number of children. And I want to display a list of each object, indented for readability like so[详细]
2023-03-22 09:56 分类:问答Using FetchedResultsController and ManagedObjectContext in multiple view controllers
My RootViewController contains a simpl开发者_StackOverflow中文版e table view. Upon selecting one of the entries in the table a DetailViewController is shown with more details on the selected entry. Th[详细]
2023-03-21 20:08 分类:问答Matt Gallagher's UITableView (Revisited) + NSFetchedResultsController
If you look at Matt Gallagher\'s Cocoa With Love blog, he has a brilliant discussion (with sample code) on a fresh a beautiful retake on UITableView ... In the post, he talks about it\'s great many[详细]
2023-03-21 03:15 分类:问答Assertion failure when i use the Add Function
In a table, I have 3 indexes which calls each a function. In each function, there is an add button that adds data into CoreData. First 2 works, but when i press the 3rd index and press Add , this erro[详细]
2023-03-21 01:57 分类:问答