VStack, HStack, and ZStack in SwiftUI | Bootcamp #10

Опубликовано: 04 Октябрь 2024
на канале: Swiftful Thinking
41,262
1.2k

Stacks are an easy way to align objects on the screen in SwiftUI. We will not only implement the different types of stacks, but also explore how we can customize them with spacing and alignments. We'll also dive into putting stacks within stacks to create complex views.

In this video, we will cover:
1) VStacks - aligning objects vertically (top to bottom)
2) HStacks - aligning objects horizontally (left to right)
3) ZStacks - aligning objects with Z index (front to back)
4) LazyVStacks - special VStacks to handle large data sets
5) LazyHStacks - special HStacks to handle large data sets

Next video:    • Adding Padding in SwiftUI View | Boot...  
Last video:    • Backgrounds and Overlays in SwiftUI |...  

🤙 WELCOME BACK 🤙

WEBSITE: https://www.swiftful-thinking.com

DISCORD:   / discord  

GITHUB: https://github.com/SwiftfulThinking/

SAY THANKS: https://www.buymeacoffee.com/nicksarno