Getting the Most Out of SwiftUI Preview
summary
The talk explores automated uses of SwiftUI Previews to generate artifacts from Preview configurations. It covers automatically producing demo apps, snapshot tests, view performance analysis, and accessibility tests, and presents a ready-made solution that automates these workflows to get the most out of SwiftUI Preview.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 2:57Speaker background
- 4:01SwiftUI Preview basics
- 7:34SwiftUI Preview benefits
- 9:04PreviewProvider protocol
- 11:59Preview model setup
- 13:45PreviewModel
- 17:46Sourcery template
- 20:39Code generation
- 21:00Playbook app
- 23:49Performance analysis
- 25:57Screenshot testing
- 27:28Testing template
- 30:36Real screenshot tests
- 32:22Free Fire project
- 33:04Summary
- 34:32Q&A








