Skip to content

SwiftUI 项目实战 2

2025 年 10 月 1 日

YouTube 视频

Weather

Challenges:

  1. Build model and refactor HStack with an array
  2. Get real data from a weather API
  3. Build a TabBar that shows multiple cities

Frameworks

TODO

Barcode

GitHub 仓库

如何在 SwiftUI 中使用 UIKit 的组件,通过委托模式,参考图片 👇:

Appetizer

GitHub 仓库

API GitHub 仓库

https://swift-ui-appetizers-api.vercel.app/api/appetizers

参考别人的作业 传送门