๐ ๅ่๏ผSwiftOnTap โฉ Binding โญ๏ธ
// โญ๏ธ creating `Binding` from `@State`
struct ExampleView: View {
// โญ๏ธ source of truth: @State variable
@State private var text: String = "๐๐"
var body: some View {
// text: String
Text(text)
// โญ๏ธ $text: Binding<String>
// two-way connection to a source of truth
// โญโโญ๏ธโโฎ
TextField("Placeholder", text: $text)
}
}