Instance Property


The relationship that represents the inverse of the receiver.


unowned(unsafe) var inverseRelationship: NSRelationshipDescription? { get set }


Given a to-many relationship “employees” between a Department entity and an Employee entity (a department may have many employees), and a to-one relationship “department” between an Employee entity and a Department entity (an employee may belong to only one department), the inverse of the “department” relationship is the “employees” relationship.

Special Considerations

Setting this property raises an exception if the receiver’s model has been used by an object graph manager.

See Also

Managing Type Information

var destinationEntity: NSEntityDescription?

The entity description of the receiver's destination.