Top "Nsmanagedobject" questions

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

Core Data merge two Managed Object Context

My Cocoa/Application has a Managed Object Context on the main thread. When I need to update my data my …

objective-c cocoa core-data nsmanagedobject nsmanagedobjectcontext
Subclassing NSManagedObject with swift 3 and Xcode 8 beta

I've began to try use Core data with swift 3 and Xcode 8 beta. When I try to generate NSManagedObject subclasses from …

core-data nsmanagedobject swift3 xcode8
'filenames are used to distinguish private declarations of the same name' error

I am getting this error on generating an NSManagedObject in Xcode 8.1 in Swift. :0: error: filename "DemoOne+CoreDataClass.swift" used twice: …

ios xcode core-data nsmanagedobject
Sort CoreData results using NSPredicate in Swift

I'm currently writing a simple phone book app in Swift and need to sort the results from a CoreData query. …

arrays search core-data swift nsmanagedobject
Which Swift types can be represented in Objective-C?

I'm creating an NSManagedObject subclass in Swift and I get an error when I make an Optional property that's of …

objective-c swift nsmanagedobject optional
Detecting changes to a specific attribute of NSManagedObject

How can I detect changes to a specific attribute of an NSManagedObject? In my Core Data data model, I have …

iphone core-data notifications nsmanagedobject
"[something copyWithZone:]: unrecognized selector sent to instance" when using Bindings / Core Data

(self asking and self-answering because I spent hours on the web looking for this, and most of the resources all …

cocoa core-data cocoa-bindings nsmanagedobject
Delete an object in core data

I have an entity in my core data model like this: @interface Selection : NSManagedObject @property (nonatomic, retain) NSString * book_id; @…

ios objective-c core-data nsmanagedobject
invalid redeclaration in auto code generate NSManagedObject Subclass Swift 3

Using Version 8.1 of Xcode. Create an entity named "MapRegionObject" in .xcdatamodeld file. Using auto code generator, click Editor on the …

ios core-data swift3 nsmanagedobject ios8.1
Invalid redeclaration on CoreData classes

I am working with CoreData, on an entity called "RoleName". The problem is: I click on "Create NSManagedObject subclass" from …

ios swift core-data nsmanagedobject