SwiftUI 苹果开发者教程

SwiftUI 苹果开发者教程

Apple 开发者文档 – SwiftUI 教程

第一章

SwiftUI Essentials

1

创建和组合视图

Apple 开发人员文档 – 创建和组合视图

  • 视图

2

Building Lists and Navigation

Apple Developer Documentation – Building Lists and Navigation

data model 에서 비즈니스 로직을 처리.

  • foldering

3

  • view

5

Handling User Input

Apple Developer Documentation – Handling User Input

  • binding

binding acts as a reference to a mutable state. When a user taps the toggle from off to on, and off again, the control uses the binding to update the view’s state accordingly.
6

7

8

  • foldering

9

GitHub

点击跳转