Instance Property

entitiesByName

The entities of the model, keyed by name.

Declaration

var entitiesByName: [String : NSEntityDescription] { get }

Discussion

Entities are instances of NSEntityDescription.

See Also

Inspecting Entities and Configurations

var entities: [NSEntityDescription]

The entities in the model.

var configurations: [String]

All the available configuration names of the model.

func entities(forConfigurationName: String?) -> [NSEntityDescription]?

Returns the entities of the model for a specified configuration.

func setEntities([NSEntityDescription], forConfigurationName: String)

Associates the specified entities with the model using the given configuration name.