Skip to content

Instantly share code, notes, and snippets.

@hirauchg
Last active August 7, 2020 09:40
Show Gist options
  • Save hirauchg/9caaf94cd498d429d9c7f6ed5d94db74 to your computer and use it in GitHub Desktop.
Save hirauchg/9caaf94cd498d429d9c7f6ed5d94db74 to your computer and use it in GitHub Desktop.
TextFieldの実装
struct ContentView: View {
@State private var name = ""
var body: some View {
TextField("名前を入力してください。", text: $name)
.font(.title)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment