Top "Nsmanagedobjectcontext" questions

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

Core Data background context best practice

I have a large import task I need to do with core data. Let say my core data model look …

ios objective-c core-data nsmanagedobjectcontext
CoreData could not fulfill a fault for

I have a really annoying problem, which I just can't seem to get fixed. I have a view when I …

objective-c ios core-data nsmanagedobject nsmanagedobjectcontext
What is NSManagedObjectContext's performBlock: used for?

In iOS 5, NSManagedObjectContext has a couple of new methods, performBlock: and performBlockAndWait:. What are these methods actually used for? What …

ios core-data ios5 nsmanagedobjectcontext blocking
How to get all records From CoreData Base using NSManagedObjectSubClass?

I am trying to implement CoreData in ios Application,Now I want to Fetch all records from Entity MUSTHAFA My …

objective-c ios core-data nsmanagedobject nsmanagedobjectcontext
How do I copy or move an NSManagedObject from one context to another?

I have what I assume is a fairly standard setup, with one scratchpad MOC which is never saved (containing a …

cocoa cocoa-touch core-data nsmanagedobject nsmanagedobjectcontext
How can I track/observe all changes within a subgraph?

I have a NSManagedObjectContext in which I have a number of subclasses of NSManagedObjects such that some are containers for …

iphone core-data nsmanagedobject nsmanagedobjectcontext
Core Data merge two Managed Object Context

My Cocoa/Application has a Managed Object Context on the main thread. When I need to update my data my …

objective-c cocoa core-data nsmanagedobject nsmanagedobjectcontext
Correct implementation of parent/child NSManagedObjectContext

My app sometimes inserts objects into the managed object context that are not meant to necessarily be saved. For example, …

ios objective-c cocoa core-data nsmanagedobjectcontext
Multiple NSEntityDescriptions Claim NSManagedObject Subclass

I am creating a framework that allows me to use Core Data. In the framework's test target, I have configured …

core-data nsmanagedobject nsmanagedobjectcontext
How to get managedObjectContext for viewController other than getting it from appDelegate?

Recently I came to know that "You really shouldn't be calling down to the AppDelegate to get the managed object …

ios objective-c core-data nsmanagedobjectcontext appdelegate