๐ฐview state
The state of a view, add @State before a property of a view to tell SwiftUI to manage the storage for a value.
SwiftUI updates your views' appearances automatically whenever your app's state changes.
One common way to change view states is through user interaction, such as when a person taps a Button.
state๏ผcurrent value of a variable
Last updated