swiftui
功能编程 (Functional Programming)
SwiftUI is a functional programming language that uses the View protocol to create reusable UI components. Views are value types, which means you don’t define classes for them. Structs are read-only. You can’t inherit from them. Views are rectangular areas on screens that are used for drawing and multi-touches.
SwiftUI是一种功能编程语言,它使用View协议来创建可重用的UI组件。 视图是值类型,这意味着您无需为其定义类。 结构是只读的。 您不能从他们那里继承。 视图是屏幕上用于绘制和多点触摸的矩形区域。