Top "Nsmanagedobjectcontext" questions

An instance of NSManagedObjectContext represents a single “object space”. Its primary responsibility is to manage a collection of managed objects.

NSFetchedResultsController doesn't show updates from a different context

I have an NSFetchedResultsController and a few operations updates managed objects on separate threads via NSOperationQueue. The FRC (with its …

ios core-data nsfetchedresultscontroller nsmanagedobjectcontext nsoperationqueue
How to remove a core data persistent store

I need to delete my persistent store (doing it object by object is not practical because I have over 100,000 objects). …

objective-c cocoa core-data nsmanagedobjectcontext
Create an NSManagedObject Without Saving?

Possible Duplicate: Store But Don't Save NSManagedObject to CoreData? I need to make an NSManagedObject without saving it, how can …

ios objective-c core-data nsmanagedobject nsmanagedobjectcontext
Crashing on saving a managedObjectContext, with 'NSInvalidArgumentException', but only sporadically

I keep getting crashes from a save: command on a managedObjectContext. It doesn't even fulfill the NSLog statement so I …

core-data nsmanagedobjectcontext
How do I create a child NSManagedObjectContext?

I've seen a few videos / threads that say it's possible to create 'children' MOCs -- MOCs that use other MOCs …

objective-c ios xcode core-data nsmanagedobjectcontext
Clearing a context in Core Data: reset vs deleting registered objects?

I was looking for posts regarding to this, but I don't fully understand... What is the difference between: [context reset]; …

ios core-data reset nsmanagedobjectcontext
How to use CoreData in Xcode 8?

I am trying use CoreData, but when I add it to my project I only get two new methods : - (…

objective-c swift core-data xcode8 nsmanagedobjectcontext
trying to save NSManagedObjectContext not working

I have been trying to figure out this problem for 2 days now. I keep getting an error when I try …

ios core-data nsmanagedobjectcontext