mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-22 09:29:45 +01:00
Merge branch 'develop' of github.com:JohnEstropia/CoreStore into develop
This commit is contained in:
@@ -223,7 +223,7 @@ public /*abstract*/ class BaseDataTransaction {
|
|||||||
public func insertedObjects<D: DynamicObject>(_ entity: D.Type) -> Set<D> {
|
public func insertedObjects<D: DynamicObject>(_ entity: D.Type) -> Set<D> {
|
||||||
|
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
self.transactionQueue.cs_isCurrentExecutionContext(),
|
self.isRunningInAllowedQueue(),
|
||||||
"Attempted to access inserted objects from a \(cs_typeName(self)) outside its designated queue."
|
"Attempted to access inserted objects from a \(cs_typeName(self)) outside its designated queue."
|
||||||
)
|
)
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
@@ -241,7 +241,7 @@ public /*abstract*/ class BaseDataTransaction {
|
|||||||
public func insertedObjectIDs() -> Set<NSManagedObjectID> {
|
public func insertedObjectIDs() -> Set<NSManagedObjectID> {
|
||||||
|
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
self.transactionQueue.cs_isCurrentExecutionContext(),
|
self.isRunningInAllowedQueue(),
|
||||||
"Attempted to access inserted object IDs from a \(cs_typeName(self)) outside its designated queue."
|
"Attempted to access inserted object IDs from a \(cs_typeName(self)) outside its designated queue."
|
||||||
)
|
)
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
@@ -260,7 +260,7 @@ public /*abstract*/ class BaseDataTransaction {
|
|||||||
public func insertedObjectIDs<D: DynamicObject>(_ entity: D.Type) -> Set<NSManagedObjectID> {
|
public func insertedObjectIDs<D: DynamicObject>(_ entity: D.Type) -> Set<NSManagedObjectID> {
|
||||||
|
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
self.transactionQueue.cs_isCurrentExecutionContext(),
|
self.isRunningInAllowedQueue(),
|
||||||
"Attempted to access inserted object IDs from a \(cs_typeName(self)) outside its designated queue."
|
"Attempted to access inserted object IDs from a \(cs_typeName(self)) outside its designated queue."
|
||||||
)
|
)
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
@@ -279,7 +279,7 @@ public /*abstract*/ class BaseDataTransaction {
|
|||||||
public func updatedObjects<D: DynamicObject>(_ entity: D.Type) -> Set<D> {
|
public func updatedObjects<D: DynamicObject>(_ entity: D.Type) -> Set<D> {
|
||||||
|
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
self.transactionQueue.cs_isCurrentExecutionContext(),
|
self.isRunningInAllowedQueue(),
|
||||||
"Attempted to access updated objects from a \(cs_typeName(self)) outside its designated queue."
|
"Attempted to access updated objects from a \(cs_typeName(self)) outside its designated queue."
|
||||||
)
|
)
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
@@ -297,7 +297,7 @@ public /*abstract*/ class BaseDataTransaction {
|
|||||||
public func updatedObjectIDs() -> Set<NSManagedObjectID> {
|
public func updatedObjectIDs() -> Set<NSManagedObjectID> {
|
||||||
|
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
self.transactionQueue.cs_isCurrentExecutionContext(),
|
self.isRunningInAllowedQueue(),
|
||||||
"Attempted to access updated object IDs from a \(cs_typeName(self)) outside its designated queue."
|
"Attempted to access updated object IDs from a \(cs_typeName(self)) outside its designated queue."
|
||||||
)
|
)
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
@@ -316,7 +316,7 @@ public /*abstract*/ class BaseDataTransaction {
|
|||||||
public func updatedObjectIDs<D: DynamicObject>(_ entity: D.Type) -> Set<NSManagedObjectID> {
|
public func updatedObjectIDs<D: DynamicObject>(_ entity: D.Type) -> Set<NSManagedObjectID> {
|
||||||
|
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
self.transactionQueue.cs_isCurrentExecutionContext(),
|
self.isRunningInAllowedQueue(),
|
||||||
"Attempted to access updated object IDs from a \(cs_typeName(self)) outside its designated queue."
|
"Attempted to access updated object IDs from a \(cs_typeName(self)) outside its designated queue."
|
||||||
)
|
)
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
@@ -335,7 +335,7 @@ public /*abstract*/ class BaseDataTransaction {
|
|||||||
public func deletedObjects<D: DynamicObject>(_ entity: D.Type) -> Set<D> {
|
public func deletedObjects<D: DynamicObject>(_ entity: D.Type) -> Set<D> {
|
||||||
|
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
self.transactionQueue.cs_isCurrentExecutionContext(),
|
self.isRunningInAllowedQueue(),
|
||||||
"Attempted to access deleted objects from a \(cs_typeName(self)) outside its designated queue."
|
"Attempted to access deleted objects from a \(cs_typeName(self)) outside its designated queue."
|
||||||
)
|
)
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
@@ -354,7 +354,7 @@ public /*abstract*/ class BaseDataTransaction {
|
|||||||
public func deletedObjectIDs() -> Set<NSManagedObjectID> {
|
public func deletedObjectIDs() -> Set<NSManagedObjectID> {
|
||||||
|
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
self.transactionQueue.cs_isCurrentExecutionContext(),
|
self.isRunningInAllowedQueue(),
|
||||||
"Attempted to access deleted object IDs from a \(cs_typeName(self)) outside its designated queue."
|
"Attempted to access deleted object IDs from a \(cs_typeName(self)) outside its designated queue."
|
||||||
)
|
)
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
@@ -373,7 +373,7 @@ public /*abstract*/ class BaseDataTransaction {
|
|||||||
public func deletedObjectIDs<D: DynamicObject>(_ entity: D.Type) -> Set<NSManagedObjectID> {
|
public func deletedObjectIDs<D: DynamicObject>(_ entity: D.Type) -> Set<NSManagedObjectID> {
|
||||||
|
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
self.transactionQueue.cs_isCurrentExecutionContext(),
|
self.isRunningInAllowedQueue(),
|
||||||
"Attempted to access deleted object IDs from a \(cs_typeName(self)) outside its designated queue."
|
"Attempted to access deleted object IDs from a \(cs_typeName(self)) outside its designated queue."
|
||||||
)
|
)
|
||||||
CoreStore.assert(
|
CoreStore.assert(
|
||||||
|
|||||||
Reference in New Issue
Block a user