Skip to content

Instantly share code, notes, and snippets.

@BLCKBIRDS
Created April 13, 2020 15:24
Show Gist options
  • Save BLCKBIRDS/fbc9c1a2c86879e952b02b0c3442502f to your computer and use it in GitHub Desktop.
Save BLCKBIRDS/fbc9c1a2c86879e952b02b0c3442502f to your computer and use it in GitHub Desktop.
//
// FoodData.swift
// C2FoodDeliveryP1
//
// Created by Andreas Schultz on 28.09.19.
// Copyright © 2019 Andreas Schultz. All rights reserved.
//
import Foundation
let foodData: [Food] = [
Food(title: "Margherita", price: 5.99, category: .pizza, id: 1),
Food(title: "Prosciutto", price: 6.89, category: .pizza, id: 2),
Food(title: "Funghi", price: 6.99, category: .pizza, id: 3),
Food(title: "Calzone", price: 6.99, category: .pizza, id: 4),
Food(title: "BBQ Burger", price: 9.90, category: .burger, id: 5),
Food(title: "Cheeseburger", price: 7.90, category: .burger, id: 6),
Food(title: "Vegan Burger", price: 8.90, category: .burger, id: 7),
Food(title: "Pulled Pork Burger", price: 11.90, category: .burger, id: 8),
Food(title: "Spagetthi Bolognese", price: 8.90, category: .pasta, id: 9),
Food(title: "Penne all'arrabbiata", price: 7.90, category: .pasta, id: 10),
Food(title: "Aglio e olio", price: 7.90, category: .pasta, id: 11),
Food(title: "Cheesecake", price: 3.99, category: .dessert, id: 12),
Food(title: "Cupcake", price: 2.99, category: .dessert, id: 13),
Food(title: "Icecream", price: 2.99, category: .dessert, id: 14)
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment