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
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.
-
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)