Skip to content

Latest commit

 

History

History
70 lines (57 loc) · 3.12 KB

README.md

File metadata and controls

70 lines (57 loc) · 3.12 KB

Foood


Foood is a basic SwiftUI prototype for a food delivery app
Designed and Developed with 🧡 by absolute-tk in Swift Playground on iPad Pro.

The prototype was successfully developed in an experimental < 24 hrs ⏱️ casual hackathon.
Foood prototype require understanding in various Swift foundations such as :

  • NavigationStack{}, NavigationLink{}
  • foregroundStyle, stroke, overlay
  • VStack(), HStack(), ZStack()
  • .ignoreSafeArea()
  • Image Formatting
  • MapKit Framework
  • Text Formatting
  • .cornerRadius()
  • systemMaterials
  • @State variable
  • frame, sizing
  • integer array
  • .clipShape()
  • menu picker
  • SF Symbols
  • #Preview
  • etc.


Preview 📁

Breakpoints

Large Medium Small

Responsive

Onboard() AllFoods() HamburgerDetails() Purchase() Succeed()

Logics

Quantity to Total Price Ask for Shipping Destination

Usage 💻

  1. Click <> CodeDownload ZIP
  2. Extract Foood-main.zip, all essential files (.swift & .png) must be in Foood-main > Foood > Foood Swift folder
  3. Open Swift Playground
  4. Create new App Playground
  5. Change App Playground name to "Foood"
  6. Rename App to "Foood"
  7. Delete all initial files (ContentView.swift and MyApp.swift)
  8. Import all .swift files from Foood Swift folder using + button
  9. Import ApplePay.png and Foood.png from Foood Swift folder using + button
  10. Everything is all set. Foood App Preview on the right should work.