SwiftUI โฉ views โฉ
A view is the building block of your app's user interface, and represents any visual element that conforms to the View protocol. Some examples of views in SwiftUI are Text views, Image views, sliders, grids, buttons, and shapes.
Configuring Views
ViewModifier
ViewBuilder
life cycle
Develop in Swift โฉ Views, structures, and properties
SwiftUI โฉ ScrollView
SwiftUI โฉ View and Controls โฉ
View โฉ Styling
View Modifier
View Builder
scaledToFit() is equivalent to calling aspectRatio(contentMode: .fit)
scaledToFit()
aspectRatio(contentMode: .fit)
Donny โฉ Understanding how and when SwiftUI decides to redraw views
Last updated 2 days ago