CSUnsafeDataModelSchema
@objc
public final class CSUnsafeDataModelSchema : NSObject, CSDynamicSchema, CoreStoreObjectiveCType
The CSUnsafeDataModelSchema
serves as the Objective-C bridging type for UnsafeDataModelSchema
.
See also
UnsafeDataModelSchema
-
Initializes a
CSUnsafeDataModelSchema
from anNSManagedObjectModel
.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
-
Declaration
Swift
@objc public var modelVersion: ModelVersion { get }
-
Declaration
Swift
@objc public func rawModel() -> NSManagedObjectModel
-
Declaration
Swift
public let bridgeToSwift: UnsafeDataModelSchema
-
Declaration
Swift
public required init(_ swiftValue: UnsafeDataModelSchema)