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
On this page of the site you can watch the video online Performance between LazyVStack, VStack and List with a duration of hours minute second in good quality, which was uploaded by the user Swift and Tips 04 September 2021, share the link with friends and acquaintances, this video has already been watched 9,560 times on youtube and it was liked by 256 viewers. Enjoy your viewing!