WIP: SwiftUI utils

This commit is contained in:
John Estropia committed 2020-12-26 19:21:46 +09:00
1 parent 477f478d85
commit 9406901b28
5 files changed
+138

No files matched your search

+5
View File
@@ -173,6 +173,11 @@ public final class ObjectPublisher<O: DynamicObject>: ObjectRepresentation, Hash
}
return ObjectSnapshot<O>(objectID: self.id, context: context)
}
public func cs_dataStack() -> DataStack? {
return self.context.parentStack
}
// MARK: Equatable