I am parsing JSON string to create new managed objects in a separate thread and in a separate managed object context. Later I want to merge the changes in the main thread by listening to NSManagedObje
I am trying to d开发者_运维问答elete a managed object, is there something I am missing? [managedObjectContext deleteObject:managedObject];
I want to filter all the posts that don\'t have one of the IDs in the favoritePosts array. I tried this but it doesn\'t work:
My understanding of an inverse relationship in CoreData is that these two statements should be equivalent:
I\'m creating an interactive book for learning languages. It has reading, quiz and some simple game. The content of each chapter is an HTML file. The book allows the user to learn about 300 words that
Here is my current NSPredicate: NSPredicate *predicate = [NSPredicate predicateWithFormat:@\"UPC==%@ OR ItemID==%@\", aUPCCode,aUPCCode];
I\'ve intented to make a simple function in AppDelegate to store some data in 开发者_如何转开发database (CoreData) which would be called from various ViewController classes connected do AppDelegate. T
I have setup few methods to load core data in the background using NSOperationQueue, like the below: operation = [[NSInvocationOperation alloc] initWithTarget:self
Two questions about Core Data: 1. Is it possible to see the actual data(the db tables) that is stored when using core data?
req = [[NSFetchRequest alloc] init]; // entity ent = [NSEntityDescription entityForName:@\"Medicine\" inManagedObjectContext:context];