Hi, I am developing an application in cocoa .I am facing a critical problem now.I am deleting an entries of an object named "Directory" in coredata using the following code
NSEnumerator *tempDirectories = [[folderArrayController arrangedObjects] objectEnumerator]; id tempDirectory; while (tempDirectory = [tempDirectories nextObject]){
[managedObjectContext deleteObject:tempDirectory]; }
But sometimes an exception like "Core Data could not fulfill a fault.." occurs while trying to save after deletion. using the following code [managedObjectContext save];
I am new in core data ..Looking forward for a solution Thanks in advance