WIP: SwiftUI utils

This commit is contained in:
John Estropia
2020-12-26 19:21:46 +09:00
parent 477f478d85
commit 9406901b28
5 changed files with 138 additions and 0 deletions

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