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.
Breakpoints
Large | Medium | Small |
---|---|---|
Responsive
Onboard() | AllFoods() | HamburgerDetails() | Purchase() | Succeed() |
---|---|---|---|---|
Logics
Quantity to Total Price | Ask for Shipping Destination |
---|---|
- Click
<> Code
→Download ZIP
- Extract
Foood-main.zip
, all essential files (.swift
&.png
) must be in Foood-main > Foood >Foood Swift
folder - Open Swift Playground
- Create new App Playground
- Change App Playground name to "Foood"
- Rename App to "Foood"
- Delete all initial files (
ContentView.swift
andMyApp.swift
) - Import all
.swift
files fromFoood Swift
folder using+
button - Import
ApplePay.png
andFoood.png
fromFoood Swift
folder using+
button - Everything is all set. Foood App Preview on the right should work.