Top "Nsmanagedobjectcontext" questions

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

Implementing Fast and Efficient Core Data Import on iOS 5

Question: How do I get my child context to see changes persisted on the parent context so that they trigger …

ios core-data nsfetchedresultscontroller nsmanagedobjectcontext
Core Data nested managed object contexts and frequent deadlocks / freezes

I have a problem that is almost identical to the problem described by this person here, but it hasn't get …

objective-c ios core-data nsfetchedresultscontroller nsmanagedobjectcontext
Changing a managed object property doesn't trigger NSFetchedResultsController to update the table view

I have a fetchedResultsController with a predicate, where "isOpen == YES" When calling for closeCurrentClockSet, I set that property to NO. …

objective-c ios nsfetchedresultscontroller nsmanagedobject nsmanagedobjectcontext
When to use Core Data's NSMainQueueConcurrencyType?

Is initializing a NSManagedObjectContext using NSMainQueueConcurrencyType only for the situation where that MOC has a child MOC that was initialized …

iphone ios cocoa-touch core-data nsmanagedobjectcontext
Core Data Fault

I am mapping Json Data from Server using Restkit and I am Displaying those data by fetching from db. There …

objective-c ios core-data nsmanagedobjectcontext fault
Changes saved from one NSManagedObjectContext doesn't reflect on main NSManagedObjectContext

I have a main NSManagedObjectContext that's created in the appDelegate. Now, I'm using another NSManagedObjectContext for editing/adding new objects …

objective-c cocoa core-data nsmanagedobjectcontext
what's the difference between NSManagedObjectContext reset and rollback?

The documentation says: - (void)reset Returns the receiver to its base state. Discussion All the receiver's managed objects are “…

objective-c core-data nsmanagedobjectcontext
Behavior differences between performBlock: and performBlockAndWait:?

I'm creating an NSManagedObjectContext in a private queue to handle data updates I take from files and/or services: NSManagedObjectContext *…

ios core-data asynchronous synchronization nsmanagedobjectcontext
How to get all entries of a NSFetchedResultsController/NSManagedObjectContext?

I have a nice working iphone app that works with core data. I use a NSFetchedResultsController/NSManagedObjectContext as described in …

iphone core-data nsmanagedobjectcontext
NSManagedObjectContext(): `init()` was deprecated in iOS 9.0: Use -initWithConcurrencyType

I was working through Core Data Stack in Swift - Demystified but when I got to the line self.context = …

cocoa core-data nsmanagedobjectcontext