CSXcodeDataModelSchema
@objc
public final class CSXcodeDataModelSchema : NSObject, CSDynamicSchema, CoreStoreObjectiveCType
The CSXcodeDataModelSchema serves as the Objective-C bridging type for XcodeDataModelSchema.
See also
XcodeDataModelSchema
-
Initializes an
CSXcodeDataModelSchemafrom an *.xcdatamodeld file URL.Declaration
Swift
@objc public required init(modelName: ModelVersion, modelVersionFileURL: URL)Parameters
modelNamethe model version, typically the file name of an *.xcdatamodeld file (without the file extension)
modelVersionFileURLthe file URL that points to the .xcdatamodeld’s
momd
file.
-
Declaration
Swift
@objc public var modelVersion: ModelVersion { get } -
Declaration
Swift
@objc public func rawModel() -> NSManagedObjectModel
-
Declaration
Swift
public let bridgeToSwift: XcodeDataModelSchema -
Declaration
Swift
public required init(_ swiftValue: XcodeDataModelSchema)
View on GitHub
CSXcodeDataModelSchema Class Reference