@Published
Last updated
Was this helpful?
Last updated
Was this helpful?
โฉ โฉ โฉ โฉ @Published
Use @Published
to declare a in an type.
@StateObject๏ผinitialize an observable object.
The @Published
attribute is constrained. Use it with of classes, not with non-class like structures.
โฉ