Skip to content

Instantly share code, notes, and snippets.

@garethpaul
Created January 20, 2020 04:49
Show Gist options
  • Select an option

  • Save garethpaul/e3105e2d1a431f132da8e668ff99fb77 to your computer and use it in GitHub Desktop.

Select an option

Save garethpaul/e3105e2d1a431f132da8e668ff99fb77 to your computer and use it in GitHub Desktop.
//
// VenueListView.swift
// FSQNearby
//
// Created by GPJ on 1/19/20.
// Copyright © 2020 GPJ. All rights reserved.
//
import SwiftUI
struct VenueListView: View {
@ObservedObject var fetcher = VenueFetcher()
var body: some View {
List {
ForEach(fetcher.venues) { v in
Text(v.name)
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment