CSXcodeDataModelSchema

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

The CSXcodeDataModelSchema serves as the Objective-C bridging type for XcodeDataModelSchema.

  • Initializes an CSXcodeDataModelSchema from an *.xcdatamodeld file URL.

    Declaration

    Swift

    @objc
    public required init(modelName: ModelVersion, modelVersionFileURL: URL)

    Parameters

    modelName

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

    modelVersionFileURL

    the file URL that points to the .xcdatamodeld’s momd file.