added sugar syntax for ForEach that removes requirement for the "id:" argument

This commit is contained in:
John Estropia
2021-03-07 10:17:20 +09:00
parent 1f97225efa
commit 7dbd3777ec
2 changed files with 34 additions and 0 deletions

View File

@@ -127,6 +127,11 @@ public struct ObjectSnapshot<O: DynamicObject>: ObjectRepresentation, Hashable {
self.values = values
self.generation = .init()
}
internal var cs_objectID: O.ObjectID {
return self.objectID()
}
// MARK: FilePrivate