mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-14 06:16:12 +01:00
Migrations demo done
This commit is contained in:
@@ -33,10 +33,6 @@ import CoreData
|
||||
All CoreStore's utilities are designed around `DynamicObject` instances. `NSManagedObject` and `CoreStoreObject` instances all conform to `DynamicObject`.
|
||||
*/
|
||||
public protocol DynamicObject: AnyObject {
|
||||
/**
|
||||
The object ID for this instance
|
||||
*/
|
||||
typealias ObjectID = NSManagedObjectID
|
||||
|
||||
/**
|
||||
Used internally by CoreStore. Do not call directly.
|
||||
@@ -72,6 +68,11 @@ public protocol DynamicObject: AnyObject {
|
||||
extension DynamicObject {
|
||||
|
||||
// MARK: Internal
|
||||
|
||||
/**
|
||||
The object ID for this instance
|
||||
*/
|
||||
public typealias ObjectID = NSManagedObjectID
|
||||
|
||||
internal func runtimeType() -> Self.Type {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user