Skip to content

Instantly share code, notes, and snippets.

@Jpunt
Last active June 6, 2019 12:15
Show Gist options
  • Save Jpunt/fe95cd696f55e5880acec2339b06e59e to your computer and use it in GitHub Desktop.
Save Jpunt/fe95cd696f55e5880acec2339b06e59e to your computer and use it in GitHub Desktop.
var body: some View {
List(tweets.identified(by: \.id)) { tweet in
HStack {
Text(tweet.message)
tweet.imageName.map { Image($0) }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment