nsmanagedobjectcontext Questions

1

Solved

I'm trying to remove a managed object context, but instead of removing the object itself it sets all instant variables to null. Am I doing anything wrong while deleting an instant of NSManagedObjec...
Heteropolar asked 20/11, 2010 at 0:1

2

Solved

I'm trying to create a NSManagedObjectContext object. They error reads as follows: Expected specifier-qualifier-list before 'NSManagedObjectContext' and here is my header file: #import <U...
Troytroyer asked 4/11, 2010 at 21:5

1

Solved

In core data for the iPhone, I was getting all sorts of errors trying to save data to a NSManagedObjectContext. I believe that my issues were all to do with me using a NSManagedObjectContext that ...
Missilery asked 29/8, 2010 at 23:48

3

Solved

I have this code: NSEntityDescription *userEntity = [[[engine managedObjectModel] entitiesByName] objectForKey:@"User"]; User *user = [[User alloc] initWithEntity:userEntity insertIntoManagedObjec...
Cooperstein asked 15/7, 2010 at 0:44

1

Solved

after I insert a ManagedObject into a context I'd like to fetch it later but before saving the context (I'd save after all objects are inserted). It appears that querying the context later with a f...

2

Solved

I don't understand the output of NSLog for the array returned by a NSFetchRequest. I'm reading my database and placing the contents in an array, looping through the array and then outputting the ...

1

Solved

Is it possible to model relationships between entities that are defined in separate NSManagedObjectModels if the entities are always used within an NSManagedObjectModel that is created by merging t...

© 2022 - 2024 — McMap. All rights reserved.