mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-09-10 03:41:47 +02:00
WIP
This commit is contained in:
@@ -164,6 +164,7 @@ public final class XcodeDataModelSchema: DynamicSchema {
|
||||
|
||||
self.modelVersion = modelName
|
||||
self.modelVersionFileURL = modelVersionFileURL
|
||||
self.rootModelFileURL = modelVersionFileURL.deletingLastPathComponent()
|
||||
}
|
||||
|
||||
|
||||
@@ -190,13 +191,9 @@ public final class XcodeDataModelSchema: DynamicSchema {
|
||||
|
||||
internal let modelVersionFileURL: URL
|
||||
|
||||
private lazy var rootModelFileURL: URL = Internals.with { [unowned self] in
|
||||
|
||||
return self.modelVersionFileURL.deletingLastPathComponent()
|
||||
}
|
||||
|
||||
|
||||
// MARK: Private
|
||||
|
||||
private weak var cachedRawModel: NSManagedObjectModel?
|
||||
private let rootModelFileURL: URL
|
||||
private nonisolated(unsafe) weak var cachedRawModel: NSManagedObjectModel?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user