Hello guys!
I started this channel talking about stacks in SwiftUI, today we will talk about another stack: LazyVStack.
Let's see what's the difference between regular VStack and List. By the way, we will focus only on vertical stacks, but this also will apply to horizontal ones.
Content:
0:00 - Intro
0:39 - What is a VStack?
3:21 - LazyVStack to the rescue!
4:41 - List vs LazyVstack
5:46 - VStack loading images from the network ❌
6:52 - More between List and LazyVStack
7:45 - Do you want to learn more?
------
Source code showed in the video: https://github.com/pitt500/Pokedex/tr...
------
Resources:
LazyVStack: https://developer.apple.com/documenta...
Stacks, Grids, and Outlines in SwiftUI: https://developer.apple.com/videos/pl...
------
Other videos in the channel:
CacheAsyncImage: • A better AsyncImage with cache in Swi...
What's new in SwiftUI 3.0: • What's new in SwiftUI 3.0? #WWDC21
Swift Concurrency: • Swift Concurrency
-----
Don't forget to subscribe to the channel, like it, and follow me on social media:
Twitter:
/ swiftandtips
/ pitt500
Finally, ask me for a video you would like to see next 😄!
Credits:
Music by Wataboi from https://pixabay.com/
Video edited with LumaFusion
Nesta página do site você pode assistir ao vídeo on-line Performance between LazyVStack, VStack and List duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Swift and Tips 04 Setembro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 9,560 vezes e gostou 256 espectadores. Boa visualização!