Skip to content

Instantly share code, notes, and snippets.

@carson-katri
Last active July 16, 2019 00:34
Show Gist options
  • Save carson-katri/cfa0d4cac3adc9a0b1bf4d77d27400ed to your computer and use it in GitHub Desktop.
Save carson-katri/cfa0d4cac3adc9a0b1bf4d77d27400ed to your computer and use it in GitHub Desktop.
Stack Builder Example
@ViewBuilder
func combineWords() -> TupleView<(Text, Text)> {
Text("Hello")
Text("World")
}
combineWords()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment