Contents

init(model:versionChecksum:)

Creates an object model reference for the specified model.

Declaration

init(model: NSManagedObjectModel, versionChecksum: String)

Parameters

  • model:

    The managed object model.

  • versionChecksum:

    The checksum of the object model’s version.

Discussion

To determine an object model’s version checksum, use its versionChecksum property. Alternatively, you can find the checksum in the versioned model’s VersionInfo.plist file or in Xcode’s build log.

See Also

Creating a reference