CSUnsafeDataModelSchema

@objc
public final class CSUnsafeDataModelSchema : NSObject, CSDynamicSchema, CoreStoreObjectiveCType

The CSUnsafeDataModelSchema serves as the Objective-C bridging type for UnsafeDataModelSchema.

  • Initializes a CSUnsafeDataModelSchema from an NSManagedObjectModel.

    Declaration

    Swift

    @objc
    public required init(modelName: ModelVersion, model: NSManagedObjectModel)

    Parameters

    modelName

    the model version, typically the file name of an *.xcdatamodeld file (without the file extension)

    model

    the NSManagedObjectModel