官方文档
文档首页
https://developer.apple.com/cn/documentation/swiftui/
入门演示教程
https://developer.apple.com/tutorials/swiftui/
编辑器:Xcode
https://developer.apple.com/cn/xcode/swiftui/
相关主题
App 结构和行为:定义你的 App 的入口和顶层组织结构。
https://developer.apple.com/documentation/swiftui/app-organization
Xcode 中的预览:生成自定视图的动态交互式预览。
https://developer.apple.com/documentation/swiftui/previews-in-xcode
用户界面
视图和控件:在屏幕上呈现你的内容并处理用户互动。
https://developer.apple.com/documentation/swiftui/view-fundamentals
视图布局与呈现:使用 stack 合并视图,动态地生成视图组和 list,并定义视图呈现和层次结构。
https://developer.apple.com/documentation/swiftui/layout-fundamentals
绘图与动画:利用颜色、形状和阴影增强视图,并自定视图状态之间的动画过渡。
框架集成:将 SwiftUI 视图集成到现有 App 中,并将 AppKit、UIKit 和 WatchKit 视图和控制器嵌入 SwiftUI 视图层次结构中。
数据与事件
状态和数据流:控制和响应你的 App 模型中的数据流和更改。
手势:定义从轻点、点按和轻扫到精细手势的交互。