When using CoreData properties of your NSManagedObject derived class needs the attribute @NSManaged.
In Silver I get an “Unknown type” compiler error.
Is this not implemented yet, or am I missing something?
When using CoreData properties of your NSManagedObject derived class needs the attribute @NSManaged.
In Silver I get an “Unknown type” compiler error.
Is this not implemented yet, or am I missing something?
Probably something we’re missing. Is NSManaged defined somewhere, or is it a Swift compiler magic attribute?
According to the Apple documentation it is CoreData specific mandatory attribute, which seems to be a special kind of flavor of the @dynamic attribute as used in Objective-C:
Add the @NSManaged attribute before each property definition in your managed object subclass that corresponds to an attribute or relationship in your Core Data model. Like the @dynamic attribute in Objective-C, the @NSManaged attribute informs the Swift compiler that the storage and implementation of a property will be provided at runtime.
Thanks, logged as bugs://71581
bugs://71581 got closed with status fixed.