init(byMerging:)
Creates a single model from an array of existing models.
Declaration
init?(byMerging models: [NSManagedObjectModel]?)Parameters
- models:
An array of instances of
NSManagedObjectModel.
Return Value
A single model made by combining the models in models.
Discussion
You use this method to combine multiple models (typically from different frameworks) into one.