You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if it is a misunderstanding or if it is really a bug, but if i try to use some kind of baseViewModel that inherit an ObservableObject it doesn't trigger my ObservedObject and my UI is never updated.
If I understand correctly, this is a SwiftUI-specific question, not necessarily related to the Swift toolchain itself. For questions related to frameworks in Apple's SDKs, I recommend posting your question on the Apple Developer forums or filing a feedback through feedbackassistant.apple.com .
This bug tracker is focused on Swift toolchain related bugs, such as those in the compiler, SwiftPM, SourceKit, the standard library and so on.
Attachment: Download
Additional Detail from JIRA
md5: 293b641023146de12657653eb8b6207b
Issue Description:
I don't know if it is a misunderstanding or if it is really a bug, but if i try to use some kind of baseViewModel that inherit an ObservableObject it doesn't trigger my ObservedObject and my UI is never updated.
If i make some small changes in my ContentViewModel to inherit directly from the ObservableObject, every thing works as expected.
The example project is on attachment.
The text was updated successfully, but these errors were encountered: