SwiftUI 苹果开发者教程
SwiftUI 苹果开发者教程
第一章
SwiftUI Essentials
创建和组合视图
- 视图
Building Lists and Navigation
Apple Developer Documentation – Building Lists and Navigation
data model 에서 비즈니스 로직을 처리.
- foldering
- view
Handling User Input
Apple Developer Documentation – Handling User Input
- binding
A 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.
- foldering