Top "Nsmanagedobject" questions

NSManagedObject is a generic class that implements all the basic behavior required of a Core Data model object.

An NSManagedObjectContext cannot delete objects in other contexts

I have two entities, each displaying on its own UITableView section. I've enabled editing to allow the user to delete …

iphone core-data nsmanagedobject
Why is the extension of my Swift class not visible outside the defining file?

I have an Xcode-generated NSManagedObject class for my CoreData model. @objc(SomeClass) class SomeClass : NSManagedObject { /* ... */ } It is defined in a …

ios swift visibility nsmanagedobject
Core-Data willSave: method

I have an attribute modificationDate in my Entity A. I want to set its value whenever NSManagedObject is saved. However, …

objective-c core-data nsmanagedobject
Core Data: Could not cast value of type 'MyType_MyType_2' to MyType

I have an Objective-C model class MyType. This class is used in Swift code: NSEntityDescription.insertNewObjectForEntityForName("MyType", inManagedObjectContext: context) as! …

swift core-data casting nsmanagedobject
CoreData: error: Serious application error. Exception was caught during Core Data change processing

I am running into major issues developing my iphone app. here is the full error: CoreData: error: Serious application error. …

iphone ios core-data nsmanagedobject nsnotificationcenter
Comparing two NSManagedObjects

I have some code that loops through an array of NSManagedObjects and stops when it finds a certain record that …

objective-c core-data nsmanagedobject
NSManagedObjectModel initWithContentsOfURL returns nil eventhough the modelURL is valid

my NSManagedObjectModel is returning nil eventhough the path is correct. NSString *modelKey = [NSString stringWithFormat:@"/%@/Model", name]; NSString *modelPath = [((Configuration *)[Configuration …

iphone nsmanagedobject
Create an NSManagedObject Without Saving?

Possible Duplicate: Store But Don't Save NSManagedObject to CoreData? I need to make an NSManagedObject without saving it, how can …

ios objective-c core-data nsmanagedobject nsmanagedobjectcontext
NSNull handling for NSManagedObject properties values

I'm setting values for properties of my NSManagedObject, these values are coming from a NSDictionary properly serialized from a JSON …

objective-c json parsing nsmanagedobject nsnull