Instance Property

entity

The entity description of the managed object.

Declaration

var entity: NSEntityDescription { get }

Discussion

If the receiver is a fault, accessing this property does not cause it to fire.

See Also

Getting a Managed Object’s Identity

var objectID: NSManagedObjectID

The object ID of the managed object.

class func entity() -> NSEntityDescription

Returns the entity description that is associated with this subclass.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software