Skip to content

Instantly share code, notes, and snippets.

@barefeettom
Created July 5, 2021 22:42
Show Gist options
  • Save barefeettom/b1c1fa6092a90dc8dc5f39e2500d7142 to your computer and use it in GitHub Desktop.
Save barefeettom/b1c1fa6092a90dc8dc5f39e2500d7142 to your computer and use it in GitHub Desktop.
Part of the tutorial series "Build an app like Lego, Using SwiftUI". https://medium.com/p/184fda9d0c86/
struct Product: Identifiable {
let id: Int
let name: String
let description: String
let price: Double
let imageName: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment