Uploaded June 2026 | Updated November 2026, 3 hours ago
Discover the inner workings of lazy stacks in SwiftUI. We’ll explore how LazyVStack and LazyHStack estimate sizes, lazily load subviews, and prefetch content to deliver smooth scrolling experiences. We’ll also cover advanced performance optimizations, state management best practices, and tips for precise programmatic scrolling. To get the most out of this session, we recommend basic familiarity with SwiftUI layout using stacks.
Explore related documentation, sample code, and more:
Grouping data with lazy stack views: developer.apple.com/documentation/SwiftUI/Grouping-Data-with-Lazy-Stack-Views
Code-along: Build powerful drag and drop in SwiftUI: developer.apple.com/videos/play/wwdc2026/271
Stacks, Grids, and Outlines in SwiftUI: developer.apple.com/videos/play/wwdc2020/10031
Compose custom layouts with SwiftUI: developer.apple.com/videos/play/wwdc2022/10056
00:00 - Introduction
01:24 - Layout
09:13 - Subview loading
13:15 - Prefetching
17:40 - Programmatic scrolling
19:55 - Next steps
More Apple Developer resources:
Video sessions: apple.co/VideoSessions
Documentation: apple.co/DeveloperDocs
Forums: apple.co/DeveloperForums
App: apple.co/DeveloperApp
Discover the inner workings of lazy stacks in SwiftUI. We’ll explore how LazyVStack and LazyHStack estimate sizes, lazily load subviews, and prefetch content to deliver smooth scrolling experiences. We’ll also cover advanced performance optimizations, state management best practices, and tips for precise programmatic scrolling. To get the most out of this session, we recommend basic familiarity with SwiftUI layout using stacks.
Explore related documentation, sample code, and more:
Grouping data with lazy stack views: developer.apple.com/documentation/SwiftUI/Grouping-Data-with-Lazy-Stack-Views
Code-along: Build powerful drag and drop in SwiftUI: developer.apple.com/videos/play/wwdc2026/271
Stacks, Grids, and Outlines in SwiftUI: developer.apple.com/videos/play/wwdc2020/10031
Compose custom layouts with SwiftUI: developer.apple.com/videos/play/wwdc2022/10056
00:00 - Introduction
01:24 - Layout
09:13 - Subview loading
13:15 - Prefetching
17:40 - Programmatic scrolling
19:55 - Next steps
More Apple Developer resources:
Video sessions: apple.co/VideoSessions
Documentation: apple.co/DeveloperDocs
Forums: apple.co/DeveloperForums
App: apple.co/DeveloperApp










