Skip to content

Instantly share code, notes, and snippets.

@sturdysturge
Created June 24, 2020 21:06
Show Gist options
  • Save sturdysturge/1257ca3067d5d788a56bed0d94305fdd to your computer and use it in GitHub Desktop.
Save sturdysturge/1257ca3067d5d788a56bed0d94305fdd to your computer and use it in GitHub Desktop.
TextEditingView
struct TextEditingView: View {
@State private var fullText: String = "This is some editable text..."
var body: some View {
TextEditor(text: $fullText)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment