Contents

entity()

Returns the entity description that is associated with this subclass.

Declaration

class func entity() -> NSEntityDescription

Discussion

This method is only legal to call on subclasses of NSManagedObject that represent a single entity in the model.

See Also

Getting a Managed Object’s Identity