Skip to content

Instantly share code, notes, and snippets.

@andrew-codechimp
Created March 3, 2021 14:33
Show Gist options
  • Select an option

  • Save andrew-codechimp/b43decdfd79dc0569f790d914f8858d4 to your computer and use it in GitHub Desktop.

Select an option

Save andrew-codechimp/b43decdfd79dc0569f790d914f8858d4 to your computer and use it in GitHub Desktop.
struct ContentView: View {
@State var publication: Publication
var body: some View {
VStack {
Text("\(publication.publicationName)").padding()
Text("\(publication.latestHeadline)")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment