Associates the specified entities with the model using the given configuration name.
SDKs
- iOS 3.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Data
Declaration
- (void)setEntities:(NSArray<NSEntity Description *> *)entities forConfiguration:(NSString *)configuration;
Parameters
entities
An array of instances of
NSEntity
.Description configuration
A name for the configuration.
Discussion
This method raises an exception if the receiver has been used by an object graph manager.