Contents

relationships(forDestination:)

Returns an array containing the relationships of the receiver where the entity description of the relationship is a given entity.

Declaration

func relationships(forDestination entity: NSEntityDescription) -> [NSRelationshipDescription]

Parameters

  • entity:

    An entity description.

Return Value

An array containing the relationships of the receiver where the entity description of the relationship is entity. Elements in the array are instances of NSRelationshipDescription.

See Also

Working with properties