Skip to content

Instantly share code, notes, and snippets.

@lawreyios
Created May 14, 2020 14:52
Show Gist options
  • Save lawreyios/cf8cf4de95eeda0c9c3cf2e0624fd5b7 to your computer and use it in GitHub Desktop.
Save lawreyios/cf8cf4de95eeda0c9c3cf2e0624fd5b7 to your computer and use it in GitHub Desktop.
struct Item: Identifiable {
var id: Int
var title: String
var price: Double
var description: String
var onSale: Bool
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment