nsmanagedobjectcontext
Context pattern? Why does Core Data need it?
I\'m still fairly new to Core Data and am trying to understand why it requires the passing around of a NSManagedObjectContext. As I understand it, passing the context is needed so that multiple thread[详细]
2023-03-15 09:48 分类:问答Avoiding registered object buildup (memleak) in NSManagedObjectContext
I have a memory-intensive iOS app and I\'m working on making sure that memory usage does not build up ove开发者_开发知识库r time.My app has a \"main\" context that lives for the lifetime of the app, w[详细]
2023-03-14 22:55 分类:问答How to custom init a UIViewController of Interface Builder with managed context
I\'m creating a simple interface with NavigationController and BandListViewController(UITableViewController) inside Interface Builder and setting the delegation to AppDelegate properties.[详细]
2023-03-14 11:13 分类:问答How to link existing values in a 1 to many relationship in core data?
I am trying to link a value that\'s already in category to the wod entity. Since I do want to call a new record for each record of wod for a category. Not sure how to do this. I was thinking of using[详细]
2023-03-13 17:29 分类:问答Performance of NSManagedObjectContext save degrades dramatically
I am having issues with a CoreData-based iOS app when it tries to build the initial DB from data sent from the server.Basically, the server sends down 1MB chunks of objects (about 3,000 per chunk), an[详细]
2023-03-13 06:21 分类:问答I've lost my ManagedObjectModel
I\'ve been playing with XCode4 and seem to have gotten myself in a bit of trouble.I was trying to organize my project on disk to be prettier and better reflect the groups I had set up but I have appar[详细]
2023-03-13 03:20 分类:问答NSFetchedResultsController misses updates on merged NSManagedObjectContext
I have two managed object contexts, A and B.These two contexts are kept in sync by merging changes 开发者_如何学Pythonfrom one to the other whenever they\'re saved (by monitoring NSManagedObjectContex[详细]
2023-03-09 11:00 分类:问答Cancelling edits: NSUndoManager or separate NSManagedObjectContext for editing?
I have a View Controller that manages a view which is always shown in editing mode. The view is essentially a table view similar to that of a contact\'s details in Apple\'s Contacts app. The model und[详细]
2023-03-09 05:52 分类:问答Core Data save exception NSInvalidArgumentException
This bug is weird since it happens at some points while program is running. After saving the context around thirty times, the program crashes.[详细]
2023-03-07 07:31 分类:问答Core Data App Crashing, "EXC_BAD_ACCESS" & NSZombie
I am currently working on an app that heavily relies on Core Data.I use a navigation controller to push and pop views around.When I go[详细]
2023-03-06 23:50 分类:问答