Город МОСКОВСКИЙ
00:15:05

SwiftUI Tutorials: Combine Views Using Stacks

Аватар
Удобная Техноподдержка: современные устройства для дома и жизни
Просмотры:
23
Дата загрузки:
09.02.2024 07:03
Длительность:
00:15:05
Категория:
Обучение

Описание

Beyond the title view you created in the previous section, you’ll add text views to contain details about the landmark, such as the name of the park and state it’s in.
When creating a SwiftUI view, you describe its content, layout, and behavior in the view’s body property; however, the body property only returns a single view. You can combine and embed multiple views in stacks, which group views together horizontally, vertically, or back-to-front.
In this section, you’ll use a vertical stack to place the title above a horizontal stack that contains details about the park.

https://developer.apple.com/tutorials/swiftui/creating-and-combining-view #Combine-Views-Using-Stacks

Рекомендуемые видео