Instance Method

entitiesForConfiguration:

Returns the entities of the model for a specified configuration.

Declaration

- (NSArray<NSEntityDescription *> *)entitiesForConfiguration:(NSString *)configuration;

Parameters

configuration

The name of a configuration in the receiver.

Return Value

An array containing the entities of the receiver for the configuration specified by configuration.

See Also

Inspecting Entities and Configurations

entities

The entities in the model.

entitiesByName

The entities of the model, keyed by name.

configurations

All the available configuration names of the model.

- setEntities:forConfiguration:

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