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
Auf dieser Seite können Sie das Online-Video Performance between LazyVStack, VStack and List mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Swift and Tips 04 September 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 9,560 Mal angesehen und es wurde von 256 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!