Contents

mergedModel(from:)

Returns a model created by merging all the models found in given bundles.

Declaration

class func mergedModel(from bundles: [Bundle]?) -> NSManagedObjectModel?

Parameters

  • bundles:

    An array of instances of NSBundle to search. If you specify nil, then the main bundle is searched.

Return Value

A model created by merging all the models found in bundles.

See Also

Creating a managed object model