Anatomy of LazyVStack: Problems, Hidden Capabilities, Optimizations
summary
A technical deep-dive into SwiftUI’s LazyVStack component that analyzes its internal behavior using a classic cell-list problem. The talk examines performance issues and hidden capabilities of LazyVStack, identifies optimization points, and gives concrete recipes for improving usage and fixing common problems.
AI-written summary · about
chapters (17)
- 0:00LazyVStack intro
- 1:02SwiftUI internals
- 3:34GeometryReader miscalculation
- 4:38Attribute Graph dependencies
- 9:30Debugging Attribute Graph
- 15:27Lazy Layout analysis
- 17:55First frame performance
- 18:16Large list problems
- 20:26Custom Layout protocol
- 23:11White screen issue
- 27:46Scroll offset caching
- 29:52View Representable
- 34:04iOS 15 compatibility
- 35:51Optimized Layout features
- 36:35Performance benchmarks
- 38:41Summary
- 39:44Q&A
