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
Hey Antoine, thanks for the playground. I cannot build the @published Properties part of the playground since you're using the @published property wrapper within a struct.
The @published attribute is class-constrained. Use it with properties of classes, not with non-class types like structures.
I also think for the two print statements to make sense at the bottom of said playground, you should set the button's isEnabled value to false initially. Otherwise, like it is the case now, "Button enabled is true" is being printed twice.
The text was updated successfully, but these errors were encountered:
Hey Antoine, thanks for the playground. I cannot build the @published Properties part of the playground since you're using the @published property wrapper within a struct.
As the documentation states:
I also think for the two print statements to make sense at the bottom of said playground, you should set the button's isEnabled value to false initially. Otherwise, like it is the case now, "Button enabled is true" is being printed twice.
The text was updated successfully, but these errors were encountered: