WIP: Objective-C bridge

This commit is contained in:
John Estropia committed 2016-03-16 21:23:41 +09:00
1 parent d9422f7f2e
commit 21f57518c8
12 files changed
+520 -55

No files matched your search

@@ -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