Skip to content

Commit ff01ac1

Browse files
authored
Update DynamicProperty implementation to 6.5.4 (#524)
1 parent 5b7ba76 commit ff01ac1

File tree

5 files changed

+347
-122
lines changed

5 files changed

+347
-122
lines changed

Sources/OpenSwiftUICore/Data/Combine/ObservedObject.swift

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// OpenSwiftUICore
44
//
55
// Audited for 6.5.4
6-
// Status: Blocked by addTreeValueSlow
6+
// Status: Complete
77
// ID: C212C242BFEB175E53A59438AB276A7C (SwiftUICore)
88

99
import OpenAttributeGraphShims
@@ -222,7 +222,13 @@ extension ObservedObject {
222222
invalidation: WeakAttribute(attribute)
223223
)
224224
buffer.append(box, fieldOffset: fieldOffset)
225-
// TODO: addTreeValueSlow
225+
addTreeValue(
226+
attribute,
227+
as: ObjectType.self,
228+
at: fieldOffset,
229+
in: Value.self,
230+
flags: .observedObjectSignal
231+
)
226232
}
227233
}
228234

0 commit comments

Comments
 (0)