New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make @Default
usable in an ObservableObject
#48
Comments
You cannot use I agree, it would be useful to allow this, but it's currently not possible to replicate the functionality of There are ways to make this partly work: https://stackoverflow.com/a/59039333/64949 But I'm inclined to wait for WWDC before doing anything more, as I'm hoping it will bring the improvements needed. |
@Default
usable in an ObservableObject
Unrelated, but you don't need |
From macOS 11.3 beta 2 release notes:
So we could maybe wrap |
Good afternoon and thanks for this amazing package. I came across a small error, I can not get the view to be updated when I reset the value to default. When I close the application and open it again, I see that the value is written and is equal to the default.
The text was updated successfully, but these errors were encountered: