SwiftUI’s LazyVStack vs. VStack

There’s an Iterator…and…

Steven Curtis


Photo by Noah Buscher on Unsplash

Difficulty: Beginner | Easy | Normal | Challenging


VStack: A staple SwiftUI container view that arranges its child views in a vertical stack. VStack is eager in its rendering approach, meaning it creates all of its child views as soon as the VStack is rendered. This can make for simpler code and…