apple/sample-food-truck resource
SwiftUI sample code from WWDC22 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1555
- days_rel: n/a
- days_push: 1111
- n_releases_24m: 0
Adoption not part of the score
1853 stars · 176 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Apple's official SwiftUI sample app from WWDC22 demonstrating a single-codebase multiplatform app for iPhone, iPad, and Mac. It showcases NavigationSplitView, custom Layout, Swift Charts, WeatherKit, Live Activities, widgets, in-app purchases, and passkeys.
Use cases
- learn how to build a SwiftUI multiplatform app
- see NavigationSplitView usage in a real app
- implement Swift Charts for data trends
- add Live Activities and Dynamic Island to an app
- integrate WeatherKit in Swift
- implement passkey sign-in on Apple platforms
- study a complete SwiftUI sample project structure
When to choose
- you want canonical Apple-endorsed SwiftUI patterns for multiplatform apps
- you need working examples of Charts, WeatherKit, ActivityKit, or passkeys
- you are learning SwiftUI with a full-featured real-world sample
When to avoid
- you need a production app or reusable library rather than demo code
- you target platforms outside Apple's ecosystem
- you need a project actively updated for the latest SwiftUI APIs
Facets
learning-resource · maturity maintenance
ui-components charts data-visualization auth developer-tools mobile-development desktop-applications tutorials cross-platform swiftui sample-code wwdc22 multiplatform navigation live-activities weatherkit passkeys widgets ios macos swift mobile desktop
2 sources
- readme: https://github.com/apple/sample-food-truck · fetched 2026-08-28 · 7d4e37bd9b0c
- homepage: https://developer.apple.com/documentation/swiftui/food_truck_building_a_swiftui_multiplatform_app · fetched 2026-08-29 · 8b4b56f43787
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apple/sample-food-truck | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="apple/sample-food-truck")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem