mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-30 12:13:59 +01:00
Rename DynamicObjectID -> PersistentID
This commit is contained in:
1 parent
13093d72d4
commit
16c5bb3e15
23 files changed
+146
-120
No files matched your search
@@ -78,7 +78,7 @@ extension NSManagedObjectContext: FetchableSource, QueryableSource {
|
||||
|
||||
@nonobjc
|
||||
public func fetchExisting<O: DynamicObject>(
|
||||
_ persistentID: DynamicObjectID<O>
|
||||
_ persistentID: PersistentID<O>
|
||||
) -> O? {
|
||||
|
||||
return self.fetchExisting(persistentID.managedObjectID)
|
||||
@@ -111,7 +111,7 @@ extension NSManagedObjectContext: FetchableSource, QueryableSource {
|
||||
@nonobjc
|
||||
public func fetchExisting<O: DynamicObject, S: Sequence>(
|
||||
_ persistentIDs: S
|
||||
) -> [O] where S.Iterator.Element == DynamicObjectID<O> {
|
||||
) -> [O] where S.Iterator.Element == PersistentID<O> {
|
||||
|
||||
return persistentIDs.compactMap({ self.fetchExisting($0.managedObjectID) })
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user