Instance Property

relationshipsByName

The relationships of the receiver in a dictionary.

Declaration

var relationshipsByName: [String : NSRelationshipDescription] { get }

Discussion

The keys in the dictionary are the relationship names and the values are instances of NSRelationshipDescription.

See Also

Working with Properties

var propertiesByName: [String : NSPropertyDescription]

A dictionary containing the properties of the receiver.

var properties: [NSPropertyDescription]

An array containing the properties of the receiver.

var attributesByName: [String : NSAttributeDescription]

The attributes of the receiver in a dictionary.

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

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