mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-02-24 08:34:58 +01:00
WIP: Objective-C bridge
This commit is contained in:
@@ -38,6 +38,7 @@ public extension NSManagedObject {
|
||||
|
||||
Note that the internal reference to the transaction is `weak`, and it is still the developer's responsibility to retain a strong reference to the `UnsafeDataTransaction`.
|
||||
*/
|
||||
@nonobjc
|
||||
public var unsafeDataTransaction: UnsafeDataTransaction? {
|
||||
|
||||
return self.managedObjectContext?.parentTransaction as? UnsafeDataTransaction
|
||||
|
||||
Reference in New Issue
Block a user