This problem follows on from a previous question.
When I run the following line of code:
NSEntityDescription *outputCellEntityDescription = [NSEntityDescription entityForName:@"OutputCell"
inManagedObjectContext:[[self document] managedObjectContext]];
I get the following error:
HIToolbox: ignoring exception '+entityForName: could not locate an NSManagedObjectModel for entity name 'OutputCell'' that raised inside Carbon event dispatch
My concern is the extra uptick that seems to have appeared at the end of the entity name in the error. Can anyone explain why this might occur or how I could go about debugging it. The code runs as normal when it is first run, but after a few Core Data fetches it seems to break. Could it be a problem related to a memory leak or similar?
Thanks for the help.