Top "Nsmanagedobject" questions

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

CoreData entity with Boolean attribute being saved as an NSNumber object

Wondering if anyone else had come across this, or if there's a reason and I'm doing something wrong. I have …

ios core-data nsmanagedobject
Get modification date for NSManagedObject in Core Data?

Outside of adding an NSDate property to each Entity in my Core Data store, is there a programmatic way to …

iphone ios core-data nsmanagedobject last-modified
How to convert NSManagedObject to NSDictionary

I am trying to convert NSManagedObject to NSDictionary this is what I tried: var keys:NSArray = order?.entity.attributesByName.keys …

ios swift core-data nsdictionary nsmanagedobject
How to make Deep Copy of NSManagedObject in Core Data

I am trying to make a duplicate of an existing NSManagedObject and related sub-objects in Core Data. I can't seem …

core-data copy nsarraycontroller nsmanagedobject
How to insert new data to entity in Swift3?

In swift previously, I was able to use a code like this to add new data to my "TestEntity" in …

swift core-data swift3 nsmanagedobject nsentitydescription
[NSManagedObject sayHello]: unrecognized selector sent to instance 0x

I try to extend NSManagedObject. Using XCode I created MyBox.m and MyBox.h (directly from the xcdatamodel file). Then …

objective-c core-data nsmanagedobject
Core data: Unable to load class named "CDAccount"

I've recently downloaded iOS 8 to make sure that my existing app works properly with it, but I'm getting a warning …

ios objective-c core-data ios8 nsmanagedobject
Use NSManagedObject class without initWithEntity:?

My problem is similar to: Problem creating NSManagedObject derived class I have setup a NSManagedObject in Core Data and have …

ios core-data nsmanagedobject
How to fetch specific records in Core data

I am a new bid in iOS development. I am using NSManagedObject of Core Data to perform Insert and Fetch …

ios core-data nsmanagedobject nsfetchrequest