Myvideo

Guest

Login

SwiftUI Tutorials: Combine Views Using Stacks

Uploaded By: Myvideo
1 view
0
0 votes
0

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. #Combine-Views-Using-Stacks

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later